Ignore:
Timestamp:
2016-07-30T16:27:16+02:00 (4 years ago)
Author:
Don-vip
Message:

sonar - pmd:UseVarargs - Use Varargs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java

    r10634 r10680  
    361361     * over all routes
    362362     */
    363     public Iterable<Collection<WayPoint>> getLinesIterable(final boolean[] trackVisibility) {
     363    public Iterable<Collection<WayPoint>> getLinesIterable(final boolean ... trackVisibility) {
    364364        return () -> new LinesIterator(this, trackVisibility);
    365365    }
     
    414414         * included in the iteration. Can be null, then all tracks are included.
    415415         */
    416         public LinesIterator(GpxData data, boolean[] trackVisibility) {
     416        public LinesIterator(GpxData data, boolean ... trackVisibility) {
    417417            itTracks = data.tracks.iterator();
    418418            idxTracks = -1;
Note: See TracChangeset for help on using the changeset viewer.