else
{
break;
}
}
<BUG>Entry<ExpansionSource, Double> entry = queue.pop();
</BUG>
if ( entry != null )
{
current = entry.getEntity();

else
{
break;
}
}
Entry<ExpansionSource, P> entry = queue.pop();
if ( entry != null )
{
current = entry.getEntity();
