Ignore:
Timestamp:
2015-03-08T23:39:57+01:00 (9 years ago)
Author:
Don-vip
Message:

fix Sonar issue squid:S2444 - Lazy initialization of "static" fields should be "synchronized"

File:
1 edited

Legend:

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

    r8074 r8126  
    566566     * @return the class loader
    567567     */
    568     public static DynamicURLClassLoader getPluginClassLoader() {
     568    public static synchronized DynamicURLClassLoader getPluginClassLoader() {
    569569        if (pluginClassLoader == null) {
    570570            pluginClassLoader = AccessController.doPrivileged(new PrivilegedAction<DynamicURLClassLoader>() {
Note: See TracChangeset for help on using the changeset viewer.