Ignore:
Timestamp:
2016-05-17T13:51:23+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - pmd:InsufficientStringBufferDeclaration - Insufficient String Buffer Declaration

File:
1 edited

Legend:

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

    r10238 r10242  
    919919
    920920    private static void alertFailedPluginUpdate(Component parent, Collection<PluginInformation> plugins) {
    921         StringBuilder sb = new StringBuilder();
     921        StringBuilder sb = new StringBuilder(128);
    922922        sb.append("<html>")
    923923          .append(trn(
     
    12961296        };
    12971297
    1298         final StringBuilder msg = new StringBuilder();
     1298        final StringBuilder msg = new StringBuilder(256);
    12991299        msg.append("<html>")
    13001300           .append(tr("An unexpected exception occurred that may have come from the ''{0}'' plugin.", plugin.getPluginInformation().name))
Note: See TracChangeset for help on using the changeset viewer.