Changeset 11225 in josm


Ignore:
Timestamp:
2016-11-08T23:42:13+01:00 (3 years ago)
Author:
michael2402
Message:

MapViewPath: Add @FunctionalInterface, clean formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/draw/MapViewPath.java

    r11154 r11225  
    235235     * @since 11147
    236236     */
     237    @FunctionalInterface
    237238    public interface PathSegmentConsumer {
    238239
     
    256257
    257258        private MapViewPoint cursor;
    258         private boolean cursorIsActive = false;
     259        private boolean cursorIsActive;
    259260
    260261        /**
     
    339340
    340341            double distance = Math.sqrt(distanceSq);
    341             double offset = ((strokeProgress + distance)) % strokeLength;
     342            double offset = (strokeProgress + distance) % strokeLength;
    342343            if (offset < 0.01) {
    343344                return entry;
Note: See TracChangeset for help on using the changeset viewer.