Skip to content
Permalink
Browse files
element.toString() can be safety invoked since the FibonacciHeap prev…
…ents the addition of null elements
  • Loading branch information
simonetripodi committed Jul 4, 2012
1 parent 1b35dd4 commit 447c383a98df18be664332381ec79588051fd4a0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -233,7 +233,7 @@ public E getElement()
@Override
public String toString()
{
return String.valueOf( element );
return element.toString();
}

}

0 comments on commit 447c383

Please sign in to comment.