Author: simonetripodi
Date: Tue Jul 12 01:20:26 2011
New Revision: 1145422

URL: http://svn.apache.org/viewvc?rev=1145422&view=rev
Log:
removed yet another redundant code

Modified:
    
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java

Modified: 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java?rev=1145422&r1=1145421&r2=1145422&view=diff
==============================================================================
--- 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
 (original)
+++ 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/collections/FibonacciHeap.java
 Tue Jul 12 01:20:26 2011
@@ -223,7 +223,7 @@ public final class FibonacciHeap<E>
      */
     public E element()
     {
-        if ( size == 0 )
+        if ( isEmpty() )
         {
             return null;
         }


Reply via email to