From Dave: comment fix and unused import nix.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2599 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2009-07-21 23:11:41 +00:00
parent 537ecbb8a3
commit f861968c92
3 changed files with 3 additions and 5 deletions
@@ -23,7 +23,6 @@ package com.samskivert.io;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream; import java.io.OutputStream;
import java.io.Reader; import java.io.Reader;
import java.io.Writer; import java.io.Writer;
+3 -3
View File
@@ -95,9 +95,9 @@ public class Throttle
} }
/** /**
* Registers an attempt at an operation and returns true if the operation should be performed * Registers an attempt at an operation and returns true if the operation should be throttled
* or false if it should be throttled (meaning N operations have already been performed in the * (meaning N operations have already been performed in the last M seconds), or false if the
* last M seconds). * operation is allowed to be performed.
* *
* @return true if the throttle is activated, false if the operation can proceed. * @return true if the throttle is activated, false if the operation can proceed.
*/ */
@@ -21,7 +21,6 @@
package com.samskivert.util.tests; package com.samskivert.util.tests;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashSet;
import java.util.Random; import java.util.Random;
import java.util.Set; import java.util.Set;
import java.util.TreeSet; import java.util.TreeSet;