Ignore:
Timestamp:
2015-10-08T00:22:36+02:00 (11 years ago)
Author:
Don-vip
Message:

fix Checkstyle issues

File:
1 edited

Legend:

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

    r8821 r8836  
    6262    private static final String SEARCH_EXPRESSION = "searchExpression";
    6363
    64     public static enum SearchMode {
     64    public enum SearchMode {
    6565        replace('R'), add('A'), remove('D'), in_selection('S');
    6666
     
    178178        private final HistoryComboBox hcb;
    179179
    180         public SearchKeywordRow(HistoryComboBox hcb) {
     180        SearchKeywordRow(HistoryComboBox hcb) {
    181181            super(new FlowLayout(FlowLayout.LEFT));
    182182            this.hcb = hcb;
     
    352352                .addTitle(tr("basic examples"))
    353353                .addKeyword(tr("Baker Street"), null, tr("''Baker'' and ''Street'' in any key"))
    354                 .addKeyword(tr("\"Baker Street\""), "\"\"", tr("''Baker Street'' in any key"))
    355                 , GBC.eol());
     354                .addKeyword(tr("\"Baker Street\""), "\"\"", tr("''Baker Street'' in any key")),
     355                GBC.eol());
    356356        right.add(new SearchKeywordRow(hcbSearchString)
    357357                .addTitle(tr("basics"))
     
    367367                        tr("to quote operators.<br>Within quoted strings the <b>\"</b> and <b>\\</b> characters need to be escaped " +
    368368                           "by a preceding <b>\\</b> (e.g. <b>\\\"</b> and <b>\\\\</b>)."),
    369                         "\"addr:street\"")
    370                 , GBC.eol());
     369                        "\"addr:street\""),
     370                GBC.eol());
    371371        right.add(new SearchKeywordRow(hcbSearchString)
    372372                .addTitle(tr("combinators"))
     
    375375                .addKeyword("<i>expr</i> OR <i>expr</i>", "OR ", tr("logical or (at least one expression has to be satisfied)"))
    376376                .addKeyword("-<i>expr</i>", null, tr("logical not"))
    377                 .addKeyword("(<i>expr</i>)", "()", tr("use parenthesis to group expressions"))
    378                 , GBC.eol());
     377                .addKeyword("(<i>expr</i>)", "()", tr("use parenthesis to group expressions")),
     378                GBC.eol());
    379379
    380380        if (Main.pref.getBoolean("expert", false)) {
     
    385385                .addKeyword("type:relation", "type:relation ", tr("all relations"))
    386386                .addKeyword("closed", "closed ", tr("all closed ways"))
    387                 .addKeyword("untagged", "untagged ", tr("object without useful tags"))
    388                 , GBC.eol());
     387                .addKeyword("untagged", "untagged ", tr("object without useful tags")),
     388                GBC.eol());
    389389            right.add(new SearchKeywordRow(hcbSearchString)
    390390                .addTitle(tr("metadata"))
     
    395395                        "changeset:0 (objects without an assigned changeset)")
    396396                .addKeyword("timestamp:", "timestamp:", tr("objects with last modification timestamp within range"), "timestamp:2012/",
    397                         "timestamp:2008/2011-02-04T12")
    398                 , GBC.eol());
     397                        "timestamp:2008/2011-02-04T12"),
     398                GBC.eol());
    399399            right.add(new SearchKeywordRow(hcbSearchString)
    400400                .addTitle(tr("properties"))
     
    404404                .addKeyword("role:", "role:", tr("objects with given role in a relation"))
    405405                .addKeyword("areasize:<i>-100</i>", "areasize:", tr("closed ways with an area of 100 m\u00b2"))
    406                 .addKeyword("waylength:<i>200-</i>", "waylength:", tr("ways with a length of 200 m or more"))
    407                 , GBC.eol());
     406                .addKeyword("waylength:<i>200-</i>", "waylength:", tr("ways with a length of 200 m or more")),
     407                GBC.eol());
    408408            right.add(new SearchKeywordRow(hcbSearchString)
    409409                .addTitle(tr("state"))
     
    411411                .addKeyword("new", "new ", tr("all new objects"))
    412412                .addKeyword("selected", "selected ", tr("all selected objects"))
    413                 .addKeyword("incomplete", "incomplete ", tr("all incomplete objects"))
    414                 , GBC.eol());
     413                .addKeyword("incomplete", "incomplete ", tr("all incomplete objects")),
     414                GBC.eol());
    415415            right.add(new SearchKeywordRow(hcbSearchString)
    416416                .addTitle(tr("related objects"))
     
    420420                        tr("n-th member of relation and/or n-th node of way"), "nth:5 (child type:relation)", "nth:-1")
    421421                .addKeyword("nth%:<i>7</i>", "nth%: ",
    422                         tr("every n-th member of relation and/or every n-th node of way"), "nth%:100 (child waterway)")
    423                 , GBC.eol());
     422                        tr("every n-th member of relation and/or every n-th node of way"), "nth%:100 (child waterway)"),
     423                GBC.eol());
    424424            right.add(new SearchKeywordRow(hcbSearchString)
    425425                .addTitle(tr("view"))
     
    428428                .addKeyword("indownloadedarea", "indownloadedarea ", tr("objects in downloaded area"))
    429429                .addKeyword("allindownloadedarea", "allindownloadedarea ",
    430                         tr("objects (and all its way nodes / relation members) in downloaded area"))
    431                 , GBC.eol());
     430                        tr("objects (and all its way nodes / relation members) in downloaded area")),
     431                GBC.eol());
    432432        }
    433433    }
Note: See TracChangeset for help on using the changeset viewer.