Ignore:
Timestamp:
2015-10-09T02:12:45+02:00 (5 years ago)
Author:
Don-vip
Message:

sonar - squid:S3052 - Fields should not be initialized to default values

Location:
trunk/src/org/openstreetmap/josm/plugins
Files:
3 edited

Legend:

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

    r8513 r8840  
    5050     * is a bit hacky, but it works).
    5151     */
    52     private PluginInformation info = null;
     52    private PluginInformation info;
    5353
    5454    /**
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r8836 r8840  
    249249    }
    250250
    251     private static PluginDownloadTask pluginDownloadTask = null;
     251    private static PluginDownloadTask pluginDownloadTask;
    252252
    253253    public static Collection<ClassLoader> getResourceClassLoaders() {
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r8512 r8840  
    4444
    4545    /** The plugin jar file. */
    46     public File file = null;
     46    public File file;
    4747    /** The plugin name. */
    48     public String name = null;
     48    public String name;
    4949    /** The lowest JOSM version required by this plugin (from plugin list). **/
    50     public int mainversion = 0;
     50    public int mainversion;
    5151    /** The lowest JOSM version required by this plugin (from locally available jar). **/
    52     public int localmainversion = 0;
     52    public int localmainversion;
    5353    /** The plugin class name. */
    54     public String className = null;
     54    public String className;
    5555    /** Determines if the plugin is an old version loaded for incompatibility with latest JOSM (from plugin list) */
    56     public boolean oldmode = false;
     56    public boolean oldmode;
    5757    /** The list of required plugins, separated by ';' (from plugin list). */
    58     public String requires = null;
     58    public String requires;
    5959    /** The list of required plugins, separated by ';' (from locally available jar). */
    60     public String localrequires = null;
     60    public String localrequires;
    6161    /** The plugin link (for documentation). */
    62     public String link = null;
     62    public String link;
    6363    /** The plugin description. */
    64     public String description = null;
     64    public String description;
    6565    /** Determines if the plugin must be loaded early or not. */
    66     public boolean early = false;
     66    public boolean early;
    6767    /** The plugin author. */
    68     public String author = null;
     68    public String author;
    6969    /** The plugin stage, determining the loading sequence order of plugins. */
    7070    public int stage = 50;
    7171    /** The plugin version (from plugin list). **/
    72     public String version = null;
     72    public String version;
    7373    /** The plugin version (from locally available jar). **/
    74     public String localversion = null;
     74    public String localversion;
    7575    /** The plugin download link. */
    76     public String downloadlink = null;
     76    public String downloadlink;
    7777    /** The plugin icon path inside jar. */
    7878    public String iconPath;
     
    8080    public ImageIcon icon;
    8181    /** Plugin can be loaded at any time and not just at start. */
    82     public boolean canloadatruntime = false;
     82    public boolean canloadatruntime;
    8383    /** The libraries referenced in Class-Path manifest attribute. */
    8484    public List<URL> libraries = new LinkedList<>();
Note: See TracChangeset for help on using the changeset viewer.