Skip to content

Commit 1a1e100

Browse files
authored
Bump build-tools from 35 to 36 (#331)
pmd/build-tools@releases/35...releases/36
1 parent a64cc48 commit 1a1e100

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/ui/ShapeDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public boolean equals(Object other) {
3636

3737
ShapeDescriptor otherOne = (ShapeDescriptor) other;
3838

39-
return shape.equals(otherOne.shape) && rgbColor.equals(otherOne.rgbColor) && size == otherOne.size;
39+
return shape == otherOne.shape && rgbColor.equals(otherOne.rgbColor) && size == otherOne.size;
4040
}
4141

4242
@Override

net.sourceforge.pmd.eclipse.plugin/src/main/java/net/sourceforge/pmd/eclipse/ui/priority/PriorityDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public boolean equals(Object other) {
116116

117117
PriorityDescriptor otherOne = (PriorityDescriptor) other;
118118

119-
return priority.equals(otherOne.priority)
119+
return priority == otherOne.priority
120120
&& StringUtils.equals(label, otherOne.label)
121121
&& shape.equals(otherOne.shape)
122122
&& StringUtils.equals(description, otherOne.description)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<tycho.version>4.0.10</tycho.version>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<pmd.version>7.18.0</pmd.version>
25-
<pmd.build-tools.version>35</pmd.build-tools.version>
25+
<pmd.build-tools.version>36</pmd.build-tools.version>
2626
<checkstyle.version>12.1.2</checkstyle.version>
2727
<checkstyle.plugin.version>3.6.0</checkstyle.plugin.version>
2828
<pmd.plugin.version>3.28.0</pmd.plugin.version>

0 commit comments

Comments
 (0)