You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by kt...@apache.org on 2012/09/18 19:32:23 UTC
svn commit: r1387274 -
/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java
Author: kturner
Date: Tue Sep 18 17:32:23 2012
New Revision: 1387274
URL: http://svn.apache.org/viewvc?rev=1387274&view=rev
Log:
ACCUMULO-705 Fixed bug Eric found in code review
Modified:
accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java
Modified: accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java
URL: http://svn.apache.org/viewvc/accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java?rev=1387274&r1=1387273&r2=1387274&view=diff
==============================================================================
--- accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java (original)
+++ accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/impl/ScannerOptions.java Tue Sep 18 17:32:23 2012
@@ -187,7 +187,7 @@ public class ScannerOptions implements S
@Override
public void setTimeout(long timeout, TimeUnit timeUnit) {
- if (timeOut <= 0) {
+ if (timeOut < 0) {
throw new IllegalArgumentException("TimeOut must be positive : " + timeOut);
}