MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / safeEq

Method safeEq

src/main/java/field/utility/Util.java:15–19  ·  view source on GitHub ↗
(Object a, Object b)

Source from the content-addressed store, hash-verified

13 */
14public class Util {
15 static public boolean safeEq(Object a, Object b) {
16 if (a == null) return b == null;
17 if (b == null) return false;
18 return a.equals(b);
19 }
20
21 /**
22 * exception munging list autoclosable

Callers 15

updateMethod · 0.95
drawNowMethod · 0.95
getMethod · 0.95
updateFrameToMiddleMethod · 0.95
findBoxByIDMethod · 0.95
willMethod · 0.95
applyMethod · 0.95
findByTagMethod · 0.95
stillValidMethod · 0.95
pushMethod · 0.95
findBoxByIDMethod · 0.80

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected