commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r812177 - /commons/proper/beanutils/trunk/src/test/org/apache/commons/collections/ReferenceMap.java
Date Mon, 07 Sep 2009 15:00:40 GMT
Author: sebb
Date: Mon Sep  7 15:00:40 2009
New Revision: 812177

URL: http://svn.apache.org/viewvc?rev=812177&view=rev
Log:
Fix empty control-flow statement warning

Modified:
    commons/proper/beanutils/trunk/src/test/org/apache/commons/collections/ReferenceMap.java

Modified: commons/proper/beanutils/trunk/src/test/org/apache/commons/collections/ReferenceMap.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/org/apache/commons/collections/ReferenceMap.java?rev=812177&r1=812176&r2=812177&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/org/apache/commons/collections/ReferenceMap.java
(original)
+++ commons/proper/beanutils/trunk/src/test/org/apache/commons/collections/ReferenceMap.java
Mon Sep  7 15:00:40 2009
@@ -595,7 +595,7 @@
     public void clear() {
         Arrays.fill(table, null);
         size = 0;
-        while (queue.poll() != null); // drain the queue
+        while (queue.poll() != null){} // drain the queue
     }
 
 



Mime
View raw message