Ignore:
Timestamp:
2017-03-17T23:03:26+01:00 (3 years ago)
Author:
Don-vip
Message:

enable more PMD rules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/bugreport/ReportedException.java

    r11649 r11739  
    228228    private static String makeCollectionNice(Collection<?> value) {
    229229        int lines = 0;
    230         StringBuilder str = new StringBuilder();
     230        StringBuilder str = new StringBuilder(32);
    231231        for (Object e : value) {
    232232            str.append("\n    - ");
     
    246246    public String toString() {
    247247        return "ReportedException [thread=" + caughtOnThread + ", exception=" + getCause()
    248                 + ", methodWarningFrom=" + methodWarningFrom + "]";
     248                + ", methodWarningFrom=" + methodWarningFrom + ']';
    249249    }
    250250
Note: See TracChangeset for help on using the changeset viewer.