project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/util/ObjectUtils.java
Hedgeroid: Final sprint to the deadline
- Changed local game setup to use the new fragments from the netroom
- Pulled team editing into the main activity menu / action bar
- Cleanups, renames, anything to make the code look better ;)
package org.hedgewars.hedgeroid.util;
public final class ObjectUtils {
public static boolean equal(Object o1, Object o2) {
if(o1==o2) {
return true;
} else if(o1==null || o2 == null) {
return false;
} else {
return o1.equals(o2);
}
}
}