Changeset 14214 in josm for trunk/src/javax


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/javax/json/JsonValueImpl.java

    r13231 r14214  
    8383        }
    8484        if (obj instanceof JsonValue) {
    85             return getValueType().equals(((JsonValue) obj).getValueType());
     85            return getValueType() == ((JsonValue) obj).getValueType();
    8686        }
    8787        return false;
Note: See TracChangeset for help on using the changeset viewer.