Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 96707 invoked from network); 7 Oct 2002 00:02:26 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Oct 2002 00:02:26 -0000 Received: (qmail 20319 invoked by uid 97); 7 Oct 2002 00:03:16 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 20303 invoked by uid 97); 7 Oct 2002 00:03:15 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 20292 invoked by uid 97); 7 Oct 2002 00:03:14 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: 7 Oct 2002 00:02:20 -0000 Message-ID: <20021007000220.80557.qmail@icarus.apache.org> From: donaldp@apache.org To: jakarta-avalon-excalibur-cvs@apache.org Subject: cvs commit: jakarta-avalon-excalibur/thread/src/java/org/apache/excalibur/thread/impl DefaultThreadControl.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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" 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: For additional commands, e-mail: