Ignore:
Timestamp:
2013-07-17T00:01:07+02:00 (11 years ago)
Author:
stoecker
Message:

see #8853 remove tabs, trailing spaces, windows line ends, strange characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

    r5787 r6069  
    4545        }
    4646    }
    47    
     47
    4848    private static final Collection<Pattern> ignoredKeys = new ArrayList<Pattern>();
    4949    static {
     
    5858        }
    5959    }
    60    
     60
    6161    private static class StringSwitcher {
    6262
     
    9393     */
    9494    public static class TagSwitcher {
    95        
     95
    9696        /**
    9797         * Reverses a given tag.
     
    102102            return apply(tag.getKey(), tag.getValue());
    103103        }
    104        
     104
    105105        /**
    106106         * Reverses a given tag (key=value).
     
    128128                // Change key but not left/right value (fix #8518)
    129129                newKey = FORWARD_BACKWARD.apply(key);
    130                
     130
    131131            } else if (!ignoreKeyForCorrection(key)) {
    132132                for (StringSwitcher prefixSuffixSwitcher : stringSwitchers) {
     
    144144        }
    145145    }
    146    
     146
    147147    private static final StringSwitcher FORWARD_BACKWARD = new StringSwitcher("forward", "backward");
    148148    private static final StringSwitcher UP_DOWN = new StringSwitcher("up", "down");
Note: See TracChangeset for help on using the changeset viewer.