Changeset 13329 in josm for trunk/src/org/openstreetmap/josm


Ignore:
Timestamp:
2018-01-15T01:53:50+01:00 (6 years ago)
Author:
Don-vip
Message:

javadoc

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
5 edited

Legend:

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

    r12634 r13329  
    143143        }
    144144
     145        /**
     146         * Determines if the download task has been canceled.
     147         * @return {@code true} if the download task has been canceled
     148         */
    145149        public boolean isCanceled() {
    146150            return canceled;
    147151        }
    148152
     153        /**
     154         * Returns the last exception that occured.
     155         * @return the last exception that occured, or {@code null}
     156         */
    149157        public Exception getLastException() {
    150158            return lastException;
  • trunk/src/org/openstreetmap/josm/actions/ExtensionFileFilter.java

    r12671 r13329  
    140140    }
    141141
    142     public enum AddArchiveExtension { NONE, BASE, ALL }
     142    /**
     143     * Strategy to determine if extensions must be added to the description.
     144     */
     145    public enum AddArchiveExtension {
     146        /** No extension is added */
     147        NONE,
     148        /** Only base extension is added */
     149        BASE,
     150        /** All extensions are added (base + archives) */
     151        ALL
     152    }
    143153
    144154    /**
  • trunk/src/org/openstreetmap/josm/actions/SaveAction.java

    r12279 r13329  
    3131    }
    3232
     33    /**
     34     * Returns the unique instance.
     35     * @return the unique instance
     36     */
    3337    public static SaveAction getInstance() {
    3438        return instance;
  • trunk/src/org/openstreetmap/josm/actions/SaveAsAction.java

    r12846 r13329  
    2929    }
    3030
     31    /**
     32     * Returns the unique instance.
     33     * @return the unique instance
     34     */
    3135    public static SaveAsAction getInstance() {
    3236        return instance;
  • trunk/src/org/openstreetmap/josm/actions/UnJoinNodeWayAction.java

    r12641 r13329  
    125125        if (selectedWays.size() == 1) {
    126126            Way w = selectedWays.get(0);
    127             for (Node n: new ArrayList<Node>(resultingNodes)) {
     127            for (Node n: new ArrayList<>(resultingNodes)) {
    128128                if (!w.containsNode(n)) {
    129129                    resultingNodes.remove(n);
Note: See TracChangeset for help on using the changeset viewer.