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/io/OsmWriter.java

    r13766 r14214  
    180180     */
    181181    public void writeContent(DataSet ds) {
    182         setWithVisible(UploadPolicy.NORMAL.equals(ds.getUploadPolicy()));
     182        setWithVisible(UploadPolicy.NORMAL == ds.getUploadPolicy());
    183183        writeNodes(ds.getNodes());
    184184        writeWays(ds.getWays());
Note: See TracChangeset for help on using the changeset viewer.