We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57935b3 + 0a96c6c commit d0244dfCopy full SHA for d0244df
src/main/java/net/praqma/jenkins/memorymap/result/MemoryMapConfigMemoryItem.java
@@ -229,9 +229,7 @@ public static boolean allBelongSameParent(MemoryMapConfigMemoryItem... items) {
229
public boolean equals(Object obj) {
230
if (obj instanceof MemoryMapConfigMemoryItem) {
231
MemoryMapConfigMemoryItem item = (MemoryMapConfigMemoryItem) obj;
232
- if (item.name.equals(this.name)) {
233
- return true;
234
- }
+ return item.name.equals(this.name);
235
}
236
return false;
237
0 commit comments