diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-02-10 11:54:32 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-02-10 11:54:32 -0800 |
commit | 007b15814fba139457818f70393b148d401a66dc (patch) | |
tree | 09b9cc02bd50c3f5cd0e2cb6156cce32220d304e /java/src/IceInternal/OutgoingConnectionFactory.java | |
parent | Revert bogus ThreadPool.cs fix from previous commit (diff) | |
download | ice-007b15814fba139457818f70393b148d401a66dc.tar.bz2 ice-007b15814fba139457818f70393b148d401a66dc.tar.xz ice-007b15814fba139457818f70393b148d401a66dc.zip |
bug 3021 - replace StringBuffer with StringBuilder
Diffstat (limited to 'java/src/IceInternal/OutgoingConnectionFactory.java')
-rw-r--r-- | java/src/IceInternal/OutgoingConnectionFactory.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/IceInternal/OutgoingConnectionFactory.java b/java/src/IceInternal/OutgoingConnectionFactory.java index 0a5bdec8c86..d9531028cdd 100644 --- a/java/src/IceInternal/OutgoingConnectionFactory.java +++ b/java/src/IceInternal/OutgoingConnectionFactory.java @@ -853,7 +853,7 @@ public final class OutgoingConnectionFactory TraceLevels traceLevels = _instance.traceLevels(); if(traceLevels.retry >= 2) { - StringBuffer s = new StringBuffer(); + StringBuilder s = new StringBuilder(128); s.append("connection to endpoint failed"); if(ex instanceof Ice.CommunicatorDestroyedException) { @@ -913,7 +913,7 @@ public final class OutgoingConnectionFactory TraceLevels traceLevels = _instance.traceLevels(); if(traceLevels.retry >= 2) { - StringBuffer s = new StringBuffer(); + StringBuilder s = new StringBuilder(128); s.append("couldn't resolve endpoint host"); if(ex instanceof Ice.CommunicatorDestroyedException) { |