package com.cflint.tools;

public class ObjectEquals {

    public static boolean equals(final Object a, final Object b) {
        if (a == null) {
            return b == null;
        } else {
            return a.equals(b);
        }
    }
}

package com.cflint.tools;

public class ObjectEquals {

    private ObjectEquals() {
        throw new IllegalStateException("ObjectEquals utility class");
    }

    public static boolean equals(final Object a, final Object b) {
        if (a == null) {
            return b == null;
        } else {
            return a.equals(b);
        }
    }
}

add private constructor