Speed up javadoc formatting 57/68957/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 1 Mar 2018 15:34:15 +0000 (16:34 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 1 Mar 2018 15:35:56 +0000 (16:35 +0100)
Initializing a StringBuilder with a string results in it being
sized to contain only that string -- hence forcing a reallocation
on next append.

This patch updates javadoc formatting code to use a default allocation
and append the initial string afterwards -- leaving some room for
further appends.

Change-Id: I910a3c84d37f462d99815f5ea63700cc78dfd2cc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>

No differences found