Ignore:
Timestamp:
2017-04-22T21:14:24+02:00 (7 years ago)
Author:
Don-vip
Message:

improve coverage and javadoc of enum classes for package actions

Location:
trunk/src/org/openstreetmap/josm/actions/search
Files:
2 edited

Legend:

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

    r11464 r11978  
    6767    private static final String SEARCH_EXPRESSION = "searchExpression";
    6868
     69    /**
     70     * Search mode.
     71     */
    6972    public enum SearchMode {
    7073        /** replace selection */
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r11613 r11978  
    746746    public static class ExactKeyValue extends TaggedMatch {
    747747
    748         private enum Mode {
     748        enum Mode {
    749749            ANY, ANY_KEY, ANY_VALUE, EXACT, NONE, MISSING_KEY,
    750750            ANY_KEY_REGEXP, ANY_VALUE_REGEXP, EXACT_REGEXP, MISSING_KEY_REGEXP;
     
    757757        private final Mode mode;
    758758
     759        /**
     760         * Constructs a new {@code ExactKeyValue}.
     761         * @param regexp regular expression
     762         * @param key key
     763         * @param value value
     764         * @throws ParseError if a parse error occurs
     765         */
    759766        public ExactKeyValue(boolean regexp, String key, String value) throws ParseError {
    760767            if ("".equals(key))
Note: See TracChangeset for help on using the changeset viewer.