Changeset 12533 in josm for trunk/src


Ignore:
Timestamp:
2017-07-29T20:57:11+02:00 (7 years ago)
Author:
Don-vip
Message:

sonar - fix recent minor code style issues

Location:
trunk/src/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ReverseWayAction.java

    r12527 r12533  
    115115
    116116        final Collection<Way> sel = new LinkedHashSet<>(ds.getSelectedWays());
    117         sel.removeIf(w -> w.isIncomplete());
     117        sel.removeIf(Way::isIncomplete);
    118118        if (sel.isEmpty()) {
    119119            new Notification(
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/ExpressionFactory.java

    r12514 r12533  
    10381038         * Determines if the object centroid lies at given lat/lon coordinates.
    10391039         * @param env the environment
    1040          * @param lat latitude
    1041          * @param lon longitude
     1040         * @param lat latitude, i.e., the north-south position in degrees
     1041         * @param lon longitude, i.e., the east-west position in degrees
    10421042         * @return {@code true} if the object centroid lies at given lat/lon coordinates
    10431043         * @since 12514
Note: See TracChangeset for help on using the changeset viewer.