Changeset 16643 in josm for trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
- Timestamp:
- 2020-06-14T20:19:59+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java
r16182 r16643 307 307 String classPath = attr.getValue(Attributes.Name.CLASS_PATH); 308 308 if (classPath != null) { 309 for (String entry : classPath.split(" " )) {309 for (String entry : classPath.split(" ", -1)) { 310 310 File entryFile; 311 311 if (new File(entry).isAbsolute() || file == null) { … … 510 510 public boolean matches(String filter) { 511 511 if (filter == null) return true; 512 String[] words = filter.split("\\s+" );512 String[] words = filter.split("\\s+", -1); 513 513 for (String word: words) { 514 514 if (matches(word, name) … … 556 556 List<String> requiredPlugins = new ArrayList<>(); 557 557 if (pluginList != null) { 558 for (String s : pluginList.split(";" )) {558 for (String s : pluginList.split(";", -1)) { 559 559 String plugin = s.trim(); 560 560 if (!plugin.isEmpty()) {
Note:
See TracChangeset
for help on using the changeset viewer.