Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java')
-rw-r--r--core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java
index 3527830d5ce..58834f32f7a 100644
--- a/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java
+++ b/core/org.eclipse.cdt.core/utils/org/eclipse/cdt/utils/macho/MachO64.java
@@ -1347,7 +1347,7 @@ public class MachO64 {
// }
private String getCStr() throws IOException {
- StringBuffer str = new StringBuffer();
+ StringBuilder str = new StringBuilder();
while(true ) {
byte tmp = efile.readByte();
if (tmp == 0)
@@ -1360,7 +1360,7 @@ public class MachO64 {
private String getLCStr(int len) throws IOException {
if (len == 0)
return EMPTY_STRING;
- StringBuffer str = new StringBuffer();
+ StringBuilder str = new StringBuilder();
for (; len > 0; len--) {
byte tmp = efile.readByte();
if (tmp == 0)

Back to the top