Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiraj Modi2019-07-02 07:31:16 +0000
committerNiraj Modi2019-07-02 07:31:16 +0000
commit32e9cb229263eac0f1845b3d060b91286dceb2d3 (patch)
treed9bf081463f78704e4c851a5508585f0a29c6d77 /bundles/org.eclipse.swt/Eclipse SWT Accessibility
parentdbb8bf7fa86518b47a043a64d8bc0fad0c76bcc2 (diff)
downloadeclipse.platform.swt-32e9cb229263eac0f1845b3d060b91286dceb2d3.tar.gz
eclipse.platform.swt-32e9cb229263eac0f1845b3d060b91286dceb2d3.tar.xz
eclipse.platform.swt-32e9cb229263eac0f1845b3d060b91286dceb2d3.zip
Bug 548721 - Replace some StringBuffer by StringBuilder
Change-Id: I3d8c1550ba5da7f7d2449a48a0b3cb781b4dacbc Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Accessibility')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
index d030c55960..05f69309b2 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
@@ -5229,7 +5229,7 @@ public class Accessible {
}
String getStateString(int state) {
if (state == 0) return " no state bits set";
- StringBuffer stateString = new StringBuffer();
+ StringBuilder stateString = new StringBuilder();
if (DEBUG) {
if ((state & COM.STATE_SYSTEM_SELECTED) != 0) stateString.append(" STATE_SYSTEM_SELECTED");
if ((state & COM.STATE_SYSTEM_SELECTABLE) != 0) stateString.append(" STATE_SYSTEM_SELECTABLE");
@@ -5254,7 +5254,7 @@ public class Accessible {
}
String getIA2StatesString(int ia2States) {
if (ia2States == 0) return " no state bits set";
- StringBuffer stateString = new StringBuffer();
+ StringBuilder stateString = new StringBuilder();
if (DEBUG) {
if ((ia2States & COM.IA2_STATE_ACTIVE) != 0) stateString.append(" IA2_STATE_ACTIVE");
if ((ia2States & COM.IA2_STATE_EDITABLE) != 0) stateString.append(" IA2_STATE_EDITABLE");

Back to the top