donaldp 2002/10/06 17:02:19
Modified: thread/src/java/org/apache/avalon/excalibur/thread
ThreadControl.java
thread/src/java/org/apache/excalibur/thread
ThreadControl.java
thread/src/java/org/apache/excalibur/thread/impl
DefaultThreadControl.java
Log:
iFix up spelling.
Submitted By: "Peter M. Goldstein" <[EMAIL PROTECTED]>
Revision Changes Path
1.5 +1 -0
jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/ThreadControl.java
Index: ThreadControl.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/thread/src/java/org/apache/avalon/excalibur/thread/ThreadControl.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ThreadControl.java 28 Sep 2002 01:58:32 -0000 1.4
+++ ThreadControl.java 7 Oct 2002 00:02:19 -0000 1.5
@@ -32,6 +32,7 @@
*
* @throws IllegalStateException if isValid() == false
* @throws SecurityException if caller does not have permission to call
interupt()
+ * @deprecated Mispelled method. Please use interrupt() instead
*/
void interupt()
throws IllegalStateException, SecurityException;
1.2 +2 -2
jakarta-avalon-excalibur/thread/src/java/org/apache/excalibur/thread/ThreadControl.java
Index: ThreadControl.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/thread/src/java/org/apache/excalibur/thread/ThreadControl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ThreadControl.java 28 Sep 2002 01:57:56 -0000 1.1
+++ ThreadControl.java 7 Oct 2002 00:02:19 -0000 1.2
@@ -28,12 +28,12 @@
throws IllegalStateException, InterruptedException;
/**
- * Call Thread.interupt() on thread being controlled.
+ * Call {@link Thread#interrupt()} on thread being controlled.
*
* @throws IllegalStateException if isValid() == false
* @throws SecurityException if caller does not have permission to call
interupt()
*/
- void interupt()
+ void interrupt()
throws IllegalStateException, SecurityException;
/**
1.2 +7 -1
jakarta-avalon-excalibur/thread/src/java/org/apache/excalibur/thread/impl/DefaultThreadControl.java
Index: DefaultThreadControl.java
===================================================================
RCS file:
/home/cvs/jakarta-avalon-excalibur/thread/src/java/org/apache/excalibur/thread/impl/DefaultThreadControl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DefaultThreadControl.java 28 Sep 2002 08:25:56 -0000 1.1
+++ DefaultThreadControl.java 7 Oct 2002 00:02:19 -0000 1.2
@@ -62,13 +62,19 @@
*/
}
+ public void interupt()
+ throws IllegalStateException, SecurityException
+ {
+ interrupt();
+ }
+
/**
* Call Thread.interrupt() on thread being controlled.
*
* @throws IllegalStateException if isValid() == false
* @throws SecurityException if caller does not have permission to call
interupt()
*/
- public synchronized void interupt()
+ public synchronized void interrupt()
throws IllegalStateException, SecurityException
{
if( !isFinished() )
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>