Logger.enterring uses String concatenation in a loop

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 9
    • Affects Version/s: 8
    • Component/s: core-libs
    • None

        A StringBuilder could be used to optimize the following loop:

         for (int i = 0; i < params.length; i++) {
                    msg = msg + " {" + i + "}";
         }

              Assignee:
              Daniel Fuchs
              Reporter:
              Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: