Changeset 15851 in josm


Ignore:
Timestamp:
2020-02-14T12:45:34+01:00 (5 years ago)
Author:
Don-vip
Message:

fix recent spotbugs/checkstyle/javadoc issues

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/SyncEditorLayerIndex.java

    r15850 r15851  
    251251                if (res.matches()) {
    252252                    String s = res.group(2);
    253                     if(s.endsWith("..."))
    254                     {
     253                    if (s.endsWith("...")) {
    255254                        s = s.substring(0, s.length() - 3);
    256255                        if ("Ignore".equals(res.group(1))) {
     
    259258                            skipStart.put(s, "darkgoldenrod");
    260259                        }
    261                     }
    262                     else
    263                     {
     260                    } else {
    264261                        if ("Ignore".equals(res.group(1))) {
    265262                            skip.put(s, "green");
     
    294291        return null;
    295292    }
    296    
     293
    297294    void myprintln(String s) {
    298295        String color;
  • trunk/src/org/openstreetmap/josm/actions/AbstractMergeAction.java

    r15786 r15851  
    4545
    4646    /**
    47      * <code>TargetLayerDialogResult</code> returned by {@link #askTargetLayer(List, String, boolean)}
     47     * <code>TargetLayerDialogResult</code> returned by {@link #askTargetLayer}
    4848     * containing the selectedTargetLayer and whether the checkbox is ticked
    4949     * @param <T> type of layer
  • trunk/src/org/openstreetmap/josm/gui/autofilter/AutoFilterManager.java

    r15839 r15851  
    204204    }
    205205
    206     private NavigableSet<Integer> getNumericValues() {
     206    private synchronized NavigableSet<Integer> getNumericValues() {
    207207        DataSet ds = MainApplication.getLayerManager().getActiveDataSet();
    208208        if (ds == null) {
Note: See TracChangeset for help on using the changeset viewer.