Ignore:
Timestamp:
2016-11-17T21:00:49+01:00 (7 years ago)
Author:
michael2402
Message:

See #13361: Cleanup code and formatting

  • Add javadoc to public methods
  • Add @since tag to newer methods
  • Do not use if (...) return true; else return false;
  • Remove parentheses if they are not required
  • Use blocks for if-statements which is more consistent with most of JOSM code
File:
1 edited

Legend:

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

    r10910 r11272  
    2727    private double minLat, minLon, maxLat, maxLon;
    2828
     29    /**
     30     * Gets the point that has both the minimal lat and lon coordinate
     31     * @return The point
     32     */
    2933    public LatLon getMin() {
    3034        return new LatLon(minLat, minLon);
     
    5155    }
    5256
     57    /**
     58     * Gets the point that has both the maximum lat and lon coordinate
     59     * @return The point
     60     */
    5361    public LatLon getMax() {
    5462        return new LatLon(maxLat, maxLon);
Note: See TracChangeset for help on using the changeset viewer.