Style changes.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@555 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -74,7 +74,7 @@ public class AutoFringer
|
||||
public int hashCode ()
|
||||
{
|
||||
int result = arrayHashCode(_fringeId);
|
||||
if(_passable) {
|
||||
if (_passable) {
|
||||
result++;
|
||||
}
|
||||
return result;
|
||||
@@ -84,9 +84,11 @@ public class AutoFringer
|
||||
* Replaces Arrays.hashCode(long a[]) in AutoFringer.hashCode().
|
||||
* Arrays.hashCode(long a[]) is undefined for Java 1.4, and this is client code.
|
||||
*/
|
||||
protected int arrayHashCode(long a[]) {
|
||||
if (a == null)
|
||||
protected int arrayHashCode (long a[])
|
||||
{
|
||||
if (a == null) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int result = 1;
|
||||
for (long element : a) {
|
||||
|
||||
Reference in New Issue
Block a user