Changeset 215 in josm for src/org/openstreetmap/josm/plugins


Ignore:
Timestamp:
2007-04-06T15:44:54+02:00 (18 years ago)
Author:
imi
Message:
  • fixed NPE in marker layer when marker type was not found
  • added one zoom to->data when first opening some data (since auto scale feature has been removed)
  • fixed NPE in preferences when there is a .jar without a manifest in plugin directory
File:
1 edited

Legend:

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

    r207 r215  
    5454                        JarInputStream jar = new JarInputStream(new FileInputStream(file));
    5555                        Manifest manifest = jar.getManifest();
     56                        if (manifest == null)
     57                                throw new IOException(file+" contains no manifest.");
    5658                        Attributes attr = manifest.getMainAttributes();
    5759                        className = attr.getValue("Plugin-Class");
Note: See TracChangeset for help on using the changeset viewer.