summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/OutgoingConnectionFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceInternal/OutgoingConnectionFactory.java')
-rw-r--r--java/src/IceInternal/OutgoingConnectionFactory.java4
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)
{