commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1747112 - in /commons/proper/exec/trunk/src/main/java/org/apache/commons/exec: DefaultExecuteResultHandler.java StreamPumper.java
Date Tue, 07 Jun 2016 02:18:49 GMT
Author: ggregory
Date: Tue Jun  7 02:18:49 2016
New Revision: 1747112

URL: http://svn.apache.org/viewvc?rev=1747112&view=rev
Log:
Update old school @exception with new school @throws.

Modified:
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
    commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/StreamPumper.java

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java?rev=1747112&r1=1747111&r2=1747112&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
(original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/DefaultExecuteResultHandler.java
Tue Jun  7 02:18:49 2016
@@ -110,7 +110,7 @@ public class DefaultExecuteResultHandler
      * not yet terminated, the calling thread will be blocked until the
      * process exits.
      *
-     * @exception  InterruptedException if the current thread is
+     * @throws  InterruptedException if the current thread is
      *             {@linkplain Thread#interrupt() interrupted} by another
      *             thread while it is waiting, then the wait is ended and
      *             an {@link InterruptedException} is thrown.
@@ -130,7 +130,7 @@ public class DefaultExecuteResultHandler
      * process exits.
      *
      * @param timeout the maximum time to wait in milliseconds
-     * @exception  InterruptedException if the current thread is
+     * @throws  InterruptedException if the current thread is
      *             {@linkplain Thread#interrupt() interrupted} by another
      *             thread while it is waiting, then the wait is ended and
      *             an {@link InterruptedException} is thrown.

Modified: commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/StreamPumper.java
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/StreamPumper.java?rev=1747112&r1=1747111&r2=1747112&view=diff
==============================================================================
--- commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/StreamPumper.java (original)
+++ commons/proper/exec/trunk/src/main/java/org/apache/commons/exec/StreamPumper.java Tue
Jun  7 02:18:49 2016
@@ -137,7 +137,7 @@ public class StreamPumper implements Run
     /**
      * This method blocks until the stream pumper finishes.
      * 
-     * @exception InterruptedException
+     * @throws InterruptedException
      *                if any thread interrupted the current thread before or while the current
thread was waiting for a
      *                notification.
      * @see #isFinished()



Mime
View raw message