You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2016/09/27 17:14:18 UTC

svn commit: r1762521 - in /jmeter/trunk/src: jorphan/org/apache/jorphan/util/JOrphanUtils.java protocol/http/org/apache/jmeter/protocol/http/sampler/ResourcesDownloader.java

Author: fschumacher
Date: Tue Sep 27 17:14:18 2016
New Revision: 1762521

URL: http://svn.apache.org/viewvc?rev=1762521&view=rev
Log:
Javadoc. Add description for throw clauses.

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ResourcesDownloader.java

Modified: jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java?rev=1762521&r1=1762520&r2=1762521&view=diff
==============================================================================
--- jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java (original)
+++ jmeter/trunk/src/jorphan/org/apache/jorphan/util/JOrphanUtils.java Tue Sep 27 17:14:18 2016
@@ -593,7 +593,7 @@ public final class JOrphanUtils {
      *  <li>Because it does not exist but cannot be created</li>
      * </ul>
      * @param folder {@link File}
-     * @throws IllegalArgumentException
+     * @throws IllegalArgumentException when folder can't be written to
      */
     public static void canSafelyWriteToFolder(File folder)
             throws IllegalArgumentException {

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ResourcesDownloader.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ResourcesDownloader.java?rev=1762521&r1=1762520&r2=1762521&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ResourcesDownloader.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/ResourcesDownloader.java Tue Sep 27 17:14:18 2016
@@ -148,7 +148,7 @@ public class ResourcesDownloader {
      * @param maxConcurrentDownloads max concurrent downloads
      * @param list list of resources to download
      * @return list tasks that have been scheduled
-     * @throws InterruptedException
+     * @throws InterruptedException when interrupted while waiting
      */
     public List<Future<AsynSamplerResultHolder>> invokeAllAndAwaitTermination(int maxConcurrentDownloads, List<Callable<AsynSamplerResultHolder>> list) throws InterruptedException {
         List<Future<AsynSamplerResultHolder>> submittedTasks = new ArrayList<>();