Changeset 18310 in josm for trunk


Ignore:
Timestamp:
2021-11-05T01:04:10+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #21519 - AIOOBE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginListParser.java

    r17571 r18310  
    6666                if (line.startsWith("\t")) {
    6767                    final String[] keyValue = line.split("\\s*:\\s*", 2);
    68                     manifest.put(new Attributes.Name(keyValue[0].substring(1)), keyValue[1]);
     68                    if (keyValue.length >= 2)
     69                        manifest.put(new Attributes.Name(keyValue[0].substring(1)), keyValue[1]);
    6970                    continue;
    7071                }
Note: See TracChangeset for help on using the changeset viewer.