diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:27:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:18 +0200 |
commit | 4b4bff34027cca49fd13e82d33d1b399848838fa (patch) | |
tree | 361bde1ae9cf88160694bec9d5f3c1893d398f66 /extensions | |
parent | c552aac9f889b094caaa35c3fd9d12fe7c3fc73c (diff) |
java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/qa/integration/extensions/MethodHandler.java | 2 | ||||
-rw-r--r-- | extensions/qa/integration/extensions/ObjectInspector.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/qa/integration/extensions/MethodHandler.java b/extensions/qa/integration/extensions/MethodHandler.java index 771784b66c1f..b2a56037b4a6 100644 --- a/extensions/qa/integration/extensions/MethodHandler.java +++ b/extensions/qa/integration/extensions/MethodHandler.java @@ -119,7 +119,7 @@ public class MethodHandler implements XPropertyHandler { XIdlMethod method = impl_getMethod( _propertyName ); - String signature = new String(); + String signature = ""; signature += method.getReturnType().getName(); signature += " "; signature += method.getName(); diff --git a/extensions/qa/integration/extensions/ObjectInspector.java b/extensions/qa/integration/extensions/ObjectInspector.java index f0f1f3104215..84fcf0e77696 100644 --- a/extensions/qa/integration/extensions/ObjectInspector.java +++ b/extensions/qa/integration/extensions/ObjectInspector.java @@ -34,7 +34,7 @@ public class ObjectInspector extends complexlib.ComplexTestCase private XMultiServiceFactory m_orb; private Frame m_desktop; - final private String m_inspectorFrameName = new String( "ObjectInspector" ); + final private String m_inspectorFrameName = "ObjectInspector"; /** Creates a new instance of ValueBinding */ public ObjectInspector() |