Changeset 13146 in josm for trunk/src/org


Ignore:
Timestamp:
2017-11-22T21:52:28+01:00 (6 years ago)
Author:
Don-vip
Message:

javadoc/PMD

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

Legend:

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

    r12987 r13146  
    966966
    967967    /**
     968     * Replies the parent way of a node, if it is the end of exactly one usable way.
    968969     * @param n node
    969970     * @return If the node is the end of exactly one way, return this.
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r13076 r13146  
    201201        }
    202202
     203        /**
     204         * Adds the title (prefix) label at the beginning of the row. Should be called only once.
     205         * @param title English title
     206         * @return {@code this} for easy chaining
     207         */
    203208        public SearchKeywordRow addTitle(String title) {
    204209            add(new JLabel(tr("{0}: ", title)));
     
    206211        }
    207212
     213        /**
     214         * Adds an example keyword label at the end of the row. Can be called several times.
     215         * @param displayText displayed HTML text
     216         * @param insertText optional: if set, makes the label clickable, and {@code insertText} will be inserted in search string
     217         * @param description optional: HTML text to be displayed in the tooltip
     218         * @param examples optional: examples joined as HTML list in the tooltip
     219         * @return {@code this} for easy chaining
     220         */
    208221        public SearchKeywordRow addKeyword(String displayText, final String insertText, String description, String... examples) {
    209222            JLabel label = new JLabel("<html>"
  • trunk/src/org/openstreetmap/josm/gui/io/AsynchronousUploadPrimitivesTask.java

    r13133 r13146  
    3333     * Static instance
    3434     */
    35     private static AsynchronousUploadPrimitivesTask asynchronousUploadPrimitivesTask = null;
     35    private static AsynchronousUploadPrimitivesTask asynchronousUploadPrimitivesTask;
    3636
    3737    /**
Note: See TracChangeset for help on using the changeset viewer.