Ignore:
Timestamp:
2016-09-09T02:34:36+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S2386 - Mutable fields should not be "public static"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/PreferenceTabbedPane.java

    r10763 r10982  
    6161import org.openstreetmap.josm.plugins.PluginHandler;
    6262import org.openstreetmap.josm.plugins.PluginInformation;
    63 import org.openstreetmap.josm.plugins.PluginProxy;
    6463import org.openstreetmap.josm.tools.CheckParameterUtil;
    6564import org.openstreetmap.josm.tools.GBC;
     
    155154                // check if plugin dependences can also be loaded
    156155                Collection<PluginInformation> allPlugins = new HashSet<>(toLoad);
    157                 for (PluginProxy proxy : PluginHandler.pluginList) {
    158                     allPlugins.add(proxy.getPluginInformation());
    159                 }
     156                allPlugins.addAll(PluginHandler.getPlugins());
    160157                boolean removed;
    161158                do {
Note: See TracChangeset for help on using the changeset viewer.