summaryrefslogtreecommitdiff
path: root/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java')
-rw-r--r--framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
index 45d0c675ec56..07b73a5974cb 100644
--- a/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
+++ b/framework/qa/complex/accelerators/AcceleratorsConfigurationTest.java
@@ -359,8 +359,8 @@ public class AcceleratorsConfigurationTest
{
System.out.println("** get command by " + sKeys[i] + " **");
- String sCmdFromCache = new String(); // get a value using XAcceleratorConfiguration API
- String sCmdFromConfiguration = new String(); // get a value using configuration API
+ String sCmdFromCache = ""; // get a value using XAcceleratorConfiguration API
+ String sCmdFromConfiguration = ""; // get a value using configuration API
// GET shortcuts/commands using XAcceleratorConfiguration API
sCmdFromCache = xAccelCfg.getCommandByKeyEvent(convertShortcut2AWTKey(sKeys[i]));
@@ -538,7 +538,7 @@ public class AcceleratorsConfigurationTest
private String getCommandFromConfiguration(XNameAccess xAccess, String sKey)
throws java.lang.Exception
{
- String sCommand = new String();
+ String sCommand = "";
if (xAccess.hasByName(sKey))
{
@@ -690,7 +690,7 @@ public class AcceleratorsConfigurationTest
private String getOfficeLocale()
throws java.lang.Exception
{
- String sLocale = new String();
+ String sLocale = "";
String sConfigPath = "org.openoffice.Setup";
boolean bReadOnly = true;