Ignore:
Timestamp:
2016-12-12T02:28:14+01:00 (7 years ago)
Author:
Don-vip
Message:

findbugs - RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE

File:
1 edited

Legend:

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

    r10123 r11381  
    9595            if (name != null) {
    9696                PluginInformation info = createInfo(name, url, manifest);
    97                 if (info != null) {
    98                     for (PluginProxy plugin : PluginHandler.pluginList) {
    99                         if (plugin.getPluginInformation().name.equals(info.getName())) {
    100                             info.localversion = plugin.getPluginInformation().localversion;
    101                         }
     97                for (PluginProxy plugin : PluginHandler.pluginList) {
     98                    if (plugin.getPluginInformation().name.equals(info.getName())) {
     99                        info.localversion = plugin.getPluginInformation().localversion;
    102100                    }
    103                     ret.add(info);
    104101                }
     102                ret.add(info);
    105103            }
    106104        } catch (PluginListParseException ex) {
Note: See TracChangeset for help on using the changeset viewer.