Ignore:
Timestamp:
2017-05-30T15:12:36+02:00 (2 years ago)
Author:
Don-vip
Message:

sonar - squid:S3878 - Arrays should not be created for varargs parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayNoTagCorrector.java

    r11848 r12279  
    3636     * Tags that imply a semantic meaning from the way direction and cannot be changed.
    3737     */
    38     private static final TagCollection directionalTags = new TagCollection(Arrays.asList(new Tag[]{
     38    private static final TagCollection directionalTags = new TagCollection(Arrays.asList(
    3939            new Tag("natural", "coastline"),
    4040            new Tag("natural", "cliff"),
     
    4242            new Tag("barrier", "kerb"),
    4343            new Tag("barrier", "retaining_wall"),
    44             new Tag("man_made", "embankment"),
    45     }));
     44            new Tag("man_made", "embankment")
     45    ));
    4646
    4747    /**
Note: See TracChangeset for help on using the changeset viewer.