Changeset 10680 in josm for trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSelector.java
- Timestamp:
- 2016-07-30T16:27:16+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSelector.java
r10657 r10680 118 118 } 119 119 120 private static int isMatching(Collection<String> values, String []searchString) {120 private static int isMatching(Collection<String> values, String ... searchString) { 121 121 int sum = 0; 122 122 for (String word: searchString) { … … 142 142 } 143 143 144 int isMatchingGroup(String []words) {144 int isMatchingGroup(String ... words) { 145 145 return isMatching(groups, words); 146 146 } 147 147 148 int isMatchingName(String []words) {148 int isMatchingName(String ... words) { 149 149 return isMatching(names, words); 150 150 } 151 151 152 int isMatchingTags(String []words) {152 int isMatchingTags(String ... words) { 153 153 return isMatching(tags, words); 154 154 }
Note:
See TracChangeset
for help on using the changeset viewer.