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
}