project_files/Android-build/SDL-android-project/src/org/hedgewars/hedgeroid/util/ObjectUtils.java
author Medo <smaxein@googlemail.com>
Mon, 20 Aug 2012 20:19:35 +0200
changeset 7582 714310efad8f
child 7584 7831c84cc644
permissions -rw-r--r--
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);
		}
	}
}