kendzi / kendzi3d

3D plugin for JOSM
57 stars 19 forks source link

Update to JOSM 14005 #84

Closed don-vip closed 6 years ago

don-vip commented 6 years ago

Hello, I removed deprecated API in 14005. The plugin is impacted: kendzi3d=java.lang.NoSuchMethodError: kendzi.josm.jogl.JoglPlugin.getPluginDir()Ljava/lang/String;

This is the method removed with javadoc:

/*
* @return The directory for the plugin to store all kind of stuff.
* @deprecated (since 13007) to get the same directory as this method,  use {@code getPluginDirs().getUserDataDirectory(false)}.
* However, for files that can be characterized as cache or preferences, you are encouraged to use the appropriate
* {@link IBaseDirectories} method from {@link #getPluginDirs()}.
*/
@Deprecated
public String getPluginDir() {
    return new File(Main.pref.getPluginsDirectory(), info.name).getPath();
}
kendzi commented 6 years ago

Sorry didn't noticed, today evening I will fix that :)

kendzi commented 6 years ago

released as v1.0.204