MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / equals

Method equals

common/buildcraft/lib/client/guide/PageLine.java:50–65  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

48 }
49
50 @Override
51 public boolean equals(Object obj) {
52 if (this == obj) return true;
53 if (obj == null) return false;
54 if (getClass() != obj.getClass()) return false;
55 PageLine other = (PageLine) obj;
56 if (indent != other.indent) return false;
57 if (link != other.link) return false;
58 if (startIcon == null) {
59 if (other.startIcon != null) return false;
60 } else if (!startIcon.equals(other.startIcon)) return false;
61 if (text == null) {
62 if (other.text != null) return false;
63 } else if (!text.equals(other.text)) return false;
64 return true;
65 }
66}

Callers 3

reloadLangMethod · 0.45
deserialiseModelPartMethod · 0.45
JsonModelPartMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected