Typo prefered
This commit is contained in:
parent
428eb6dbc0
commit
0efc22d738
1 changed files with 3 additions and 3 deletions
|
@ -379,10 +379,10 @@ public class GridNode implements IGridNode, IPathItem
|
|||
@Override
|
||||
public int compare(IGridConnection o1, IGridConnection o2)
|
||||
{
|
||||
boolean preferedA = o1.getOtherSide( gn ).hasFlag( GridFlags.PREFERRED );
|
||||
boolean preferedB = o2.getOtherSide( gn ).hasFlag( GridFlags.PREFERRED );
|
||||
boolean preferredA = o1.getOtherSide( gn ).hasFlag( GridFlags.PREFERRED );
|
||||
boolean preferredB = o2.getOtherSide( gn ).hasFlag( GridFlags.PREFERRED );
|
||||
|
||||
return preferedA == preferedB ? 0 : (preferedA ? -1 : 1);
|
||||
return preferredA == preferredB ? 0 : (preferredA ? -1 : 1);
|
||||
}
|
||||
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue