summaryrefslogtreecommitdiff
path: root/bean/com
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-16 12:51:54 +0200
committerNoel Grandin <noel@peralex.com>2014-10-17 08:26:19 +0200
commit12b01b920f42666db84c8be1c9b6fd89a86eea4e (patch)
tree35a462009765a838e1381fe5d7614caed450daef /bean/com
parent3beae0f05d1c8c976dfcebe02c8830752d708c74 (diff)
java: no need to call String.valueOf to append to a String
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
Diffstat (limited to 'bean/com')
-rw-r--r--bean/com/sun/star/comp/beans/LocalOfficeConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
index a2f0db9c785c..da8651077ce9 100644
--- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
+++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java
@@ -445,7 +445,7 @@ public class LocalOfficeConnection
// empty string as bridge name into createBridge. Then we should always get
// a new bridge. This does not work because of (i51323). Therefore we
// create unique bridge names for the current process.
- String sBridgeName = "OOoBean_private_bridge_" + String.valueOf(m_nBridgeCounter++);
+ String sBridgeName = "OOoBean_private_bridge_" + (m_nBridgeCounter++);
try {
mBridge = xBridgeFactory.createBridge(sBridgeName, protDcp, xConnection, null);
} catch (com.sun.star.bridge.BridgeExistsException e) {