Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-05-23 03:37:21 -0400
committerAlexander Kurtakov2019-05-23 04:20:48 -0400
commit580d96e6cbdac2e14d24620676b5073a6fd0e20f (patch)
treebc91366a0e0016b97d97425b6efc8cc29ed709cc /libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx
parent5c190198ba49a9e6cb03a0b4c233c1223f65e410 (diff)
downloadorg.eclipse.linuxtools-580d96e6cbdac2e14d24620676b5073a6fd0e20f.tar.gz
org.eclipse.linuxtools-580d96e6cbdac2e14d24620676b5073a6fd0e20f.tar.xz
org.eclipse.linuxtools-580d96e6cbdac2e14d24620676b5073a6fd0e20f.zip
Use StringBuilder instead of StringBuffer where possible.
Change-Id: Ib62a825af23774e09f51c50113aded3e9e2b8695 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-on: https://git.eclipse.org/r/142647 Tested-by: Linux Tools Bot <linuxtools-bot@eclipse.org>
Diffstat (limited to 'libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx')
-rw-r--r--libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/src/org/eclipse/linuxtools/internal/cdt/libhover/libstdcxx/DoxygenCPPInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/src/org/eclipse/linuxtools/internal/cdt/libhover/libstdcxx/DoxygenCPPInfo.java b/libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/src/org/eclipse/linuxtools/internal/cdt/libhover/libstdcxx/DoxygenCPPInfo.java
index 687a70658d..b1cce0b3ff 100644
--- a/libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/src/org/eclipse/linuxtools/internal/cdt/libhover/libstdcxx/DoxygenCPPInfo.java
+++ b/libhover/org.eclipse.linuxtools.cdt.libhover.libstdcxx/src/org/eclipse/linuxtools/internal/cdt/libhover/libstdcxx/DoxygenCPPInfo.java
@@ -91,7 +91,7 @@ public class DoxygenCPPInfo {
}
private String getElementText(Node node) {
- StringBuffer d = new StringBuffer();
+ StringBuilder d = new StringBuilder();
NodeList nl = node.getChildNodes();
for (int x = 0; x < nl.getLength(); ++x) {
Node text = nl.item(x);

Back to the top