public static boolean checkObjectsEqual(Object o1, Object o2) {
    """
	Checks to see if two objects are equal. The Object.equal() method is used to check for
	equality.
	
	@param o1
	The first object to check.
	@param o2
	The second object to check.
	@return True if the two objects are equal. False if the objects are not equal.
    """
    if (null != o1 && !o1.equals(o2)) {
      return false;
    }

    if (null == o1 && null != o2) {
      return false;
    }

    return true;
  }
public static boolean checkObjectsEqual(Object o1, Object o2) {
    if (null != o1 && !o1.equals(o2)) {
      return false;
    }

    if (null == o1 && null != o2) {
      return false;
    }

    return true;
  }
public static boolean checkObjectsEqual ( Object o1 , Object o2 ) { if ( null != o1 && ! o1 . equals ( o2 ) ) { return false ; } if ( null == o1 && null != o2 ) { return false ; } return true ; }
Checks to see if two objects are equal. The Object.equal() method is used to check for
equality.

@param o1
The first object to check.
@param o2
The second object to check.
@return True if the two objects are equal. False if the objects are not equal.
Checks to see if two objects are equal . The Object . equal () method is used to check for equality .