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


Ignore:
Timestamp:
2016-12-14T03:40:45+01:00 (3 years ago)
Author:
Don-vip
Message:

code style

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

Legend:

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

    r11374 r11393  
    5454
    5555    public enum Token {
    56         NOT(marktr("<not>")), OR(marktr("<or>")), XOR(marktr("<xor>")), LEFT_PARENT(marktr("<left parent>")),
    57         RIGHT_PARENT(marktr("<right parent>")), COLON(marktr("<colon>")), EQUALS(marktr("<equals>")),
    58         KEY(marktr("<key>")), QUESTION_MARK(marktr("<question mark>")),
    59         EOF(marktr("<end-of-file>")), LESS_THAN("<less-than>"), GREATER_THAN("<greater-than>");
     56        NOT(marktr("<not>")),
     57        OR(marktr("<or>")),
     58        XOR(marktr("<xor>")),
     59        LEFT_PARENT(marktr("<left parent>")),
     60        RIGHT_PARENT(marktr("<right parent>")),
     61        COLON(marktr("<colon>")),
     62        EQUALS(marktr("<equals>")),
     63        KEY(marktr("<key>")),
     64        QUESTION_MARK(marktr("<question mark>")),
     65        EOF(marktr("<end-of-file>")),
     66        LESS_THAN("<less-than>"),
     67        GREATER_THAN("<greater-than>");
    6068
    6169        Token(String name) {
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r11385 r11393  
    8080        this.tokenizer = tokenizer;
    8181
    82         /* register core match factories at first instance, so plugins should
    83          * never be able to generate a NPE
    84          */
     82        // register core match factories at first instance, so plugins should never be able to generate a NPE
    8583        if (simpleMatchFactoryMap.isEmpty()) {
    8684            addMatchFactory(new CoreSimpleMatchFactory());
Note: See TracChangeset for help on using the changeset viewer.