Ignore:
Timestamp:
2018-09-01T15:29:15+02:00 (6 years ago)
Author:
Don-vip
Message:

sonarqube - squid:S4551 - Enum values should be compared with "=="

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetContentTableModel.java

    r11878 r14214  
    9595    protected void sort() {
    9696        data.sort((c1, c2) -> {
    97                 if (c1.getModificationType().equals(c2.getModificationType())) {
     97                if (c1.getModificationType() == c2.getModificationType()) {
    9898                    long id1 = c1.getPrimitive().getId();
    9999                    long id2 = c2.getPrimitive().getId();
Note: See TracChangeset for help on using the changeset viewer.