Ignore:
Timestamp:
2015-06-19T23:34:50+02:00 (9 years ago)
Author:
Don-vip
Message:

fix some Sonar issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BookmarkList.java

    r8468 r8506  
    3838        /**
    3939         * Constructs a new {@code Bookmark} with the given contents.
    40          * @param list Bookmark contents as a list of 5 elements. First item is the name, then come bounds arguments (minlat, minlon, maxlat, maxlon)
     40         * @param list Bookmark contents as a list of 5 elements.
     41         * First item is the name, then come bounds arguments (minlat, minlon, maxlat, maxlon)
    4142         * @throws NumberFormatException if the bounds arguments are not numbers
    4243         * @throws IllegalArgumentException if list contain less than 5 elements
    4344         */
    44         public Bookmark(Collection<String> list) throws NumberFormatException, IllegalArgumentException {
     45        public Bookmark(Collection<String> list) {
    4546            List<String> array = new ArrayList<>(list);
    4647            if(array.size() < 5)
Note: See TracChangeset for help on using the changeset viewer.