Skip to content

Commit a3f6642

Browse files
eclipse-equinox-botlaeubi
authored andcommitted
Perform clean code of bundles/org.eclipse.equinox.p2.repository.tools
1 parent 54ef315 commit a3f6642

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator

1 file changed

+1
-1
lines changed

bundles/org.eclipse.equinox.p2.repository.tools/src/org/eclipse/equinox/p2/internal/repository/comparator/JarComparator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public FeatureEntryWrapper(FeatureEntry entry) {
4545

4646
@Override
4747
public boolean equals(Object o) {
48-
FeatureEntry otherEntry = (o instanceof FeatureEntryWrapper) ? ((FeatureEntryWrapper) o).getEntry() : null;
48+
FeatureEntry otherEntry = (o instanceof FeatureEntryWrapper f) ? f.getEntry() : null;
4949

5050
if (otherEntry == null || !entry.equals(otherEntry)) {
5151
return false;

0 commit comments

Comments
 (0)