Ignore:
Timestamp:
2016-03-13T16:31:38+01:00 (8 years ago)
Author:
Don-vip
Message:

sonar - code style + javadoc

File:
1 edited

Legend:

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

    r9940 r9980  
    6767
    6868    public enum SearchMode {
    69         replace('R'), add('A'), remove('D'), in_selection('S');
     69        /** replace selection */
     70        replace('R'),
     71        /** add to selection */
     72        add('A'),
     73        /** remove from selection */
     74        remove('D'),
     75        /** find in selection */
     76        in_selection('S');
    7077
    7178        private final char code;
     
    7582        }
    7683
     84        /**
     85         * Returns the unique character code of this mode.
     86         * @return the unique character code of this mode
     87         */
    7788        public char getCode() {
    7889            return code;
    7990        }
    8091
     92        /**
     93         * Returns the search mode matching the given character code.
     94         * @param code character code
     95         * @return search mode matching the given character code
     96         */
    8197        public static SearchMode fromCode(char code) {
    8298            for (SearchMode mode: values()) {
Note: See TracChangeset for help on using the changeset viewer.