com.cflint.tools.ObjectEquals Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of CFLint Show documentation
Show all versions of CFLint Show documentation
A static code analysis tool for ColdFusion (in the spirit of FindBugs and Lint). With CFLint, you are able to analyze your ColdFusion code base for code violations.
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);
}
}
}