Ignore:
Timestamp:
2024-04-22T20:59:26+02:00 (6 weeks ago)
Author:
taylor.smock
Message:

Revert most var changes from r19048, fix most new compile warnings and checkstyle issues

Also, document why various ErrorProne checks were originally disabled and fix
generic SonarLint issues.

File:
1 edited

Legend:

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

    r16553 r19050  
    2424 * For all purposes of loading dynamic resources, the Plugin's class loader should be used
    2525 * (or else, the plugin jar will not be within the class path).
    26  *
     26 * <p>
    2727 * A plugin may subclass this abstract base class (but it is optional).
    28  *
     28 * <p>
    2929 * The actual implementation of this class is optional, as all functions will be called
    3030 * via reflection. This is to be able to change this interface without the need of
     
    3232 * function here (or does provide a function with a mismatching signature), it will not
    3333 * be called. That simple.
    34  *
     34 * <p>
    3535 * Or in other words: See this base class as an documentation of what automatic callbacks
    3636 * are provided (you can register yourself to more callbacks in your plugin class
    3737 * constructor).
    38  *
     38 * <p>
    3939 * Subclassing Plugin and overriding some functions makes it easy for you to keep sync
    4040 * with the correct actual plugin architecture of JOSM.
     
    4747     * This is the info available for this plugin. You can access this from your
    4848     * constructor.
    49      *
     49     * <p>
    5050     * (The actual implementation to request the info from a static variable
    5151     * is a bit hacky, but it works).
     
    5555    private final IBaseDirectories pluginBaseDirectories = new PluginBaseDirectories();
    5656
    57     private class PluginBaseDirectories implements IBaseDirectories {
     57    private final class PluginBaseDirectories implements IBaseDirectories {
    5858        private File preferencesDir;
    5959        private File cacheDir;
Note: See TracChangeset for help on using the changeset viewer.