Ignore:
Timestamp:
2015-05-16T15:13:38+02:00 (9 years ago)
Author:
Don-vip
Message:

fix Findbugs performance issues

Location:
trunk/src/org/openstreetmap/josm/data/validation/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DuplicateRelation.java

    r8346 r8365  
    131131     * Class to store relation data (keys are usually cleanup and may not be equal to original relation)
    132132     */
    133     private class RelationPair {
     133    private static class RelationPair {
    134134        /** Member objects of the relation */
    135135        private RelationMembers members;
  • trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java

    r8338 r8365  
    223223    }
    224224
    225     public class RegExprRule implements NormalizeRule {
     225    public static class RegExprRule implements NormalizeRule {
    226226        private final Pattern regExpr;
    227227        private final String replacement;
     
    243243    }
    244244
    245     public class SynonymRule implements NormalizeRule {
     245    public static class SynonymRule implements NormalizeRule {
    246246
    247247        private final String[] words;
Note: See TracChangeset for help on using the changeset viewer.