We require 1.5 now, so rock on!
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@920 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -76,14 +76,7 @@ public class AutoFringer
|
|||||||
@Override
|
@Override
|
||||||
public int hashCode ()
|
public int hashCode ()
|
||||||
{
|
{
|
||||||
int result = 33; // can't use Arrays.hashCode(long) as it's 1.5 only
|
return Arrays.hashCode(_fringeId);
|
||||||
for (long key : _fringeId) {
|
|
||||||
result = result * 37 + (int)(key ^ (key >>> 32));
|
|
||||||
}
|
|
||||||
if (_passable) {
|
|
||||||
result++;
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The fringe keys of the tiles that went into this tile in the order they were drawn. */
|
/** The fringe keys of the tiles that went into this tile in the order they were drawn. */
|
||||||
|
|||||||
Reference in New Issue
Block a user