Author: simonetripodi
Date: Tue Jul 12 01:14:31 2011
New Revision: 1145420

URL: http://svn.apache.org/viewvc?rev=1145420&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=1145420&r1=1145419&r2=1145420&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:14:31 2011
@@ -91,7 +91,7 @@ public final class FibonacciHeap<E>
         FibonacciHeapNode<E> node = new FibonacciHeapNode<E>( e );
 
         // if min[H] = NIL
-        if ( minimumNode == null )
+        if ( isEmpty() )
         {
             // then min[H] <- x
             minimumNode = node;


Reply via email to