diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-20 14:48:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-07 13:20:01 +0200 |
commit | 04ace01ec5f4c18a294a10f68bb42bddda3b29c4 (patch) | |
tree | cf7ee887899682bc9e962331f14140894f09b771 /qadevOOo/runner | |
parent | 060956beaa577c6da46b74dd2f6f4a82a59b884d (diff) |
java: remove unnecessary adding of empty strings
Change-Id: I3825ea5fb1eb34ca52659350e202f95abea945a9
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/util/AccessibilityTools.java | 4 | ||||
-rw-r--r-- | qadevOOo/runner/util/RegistryTools.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/runner/util/AccessibilityTools.java b/qadevOOo/runner/util/AccessibilityTools.java index c700000d7d8f..76136e6fb04d 100644 --- a/qadevOOo/runner/util/AccessibilityTools.java +++ b/qadevOOo/runner/util/AccessibilityTools.java @@ -331,7 +331,7 @@ public class AccessibilityTools { XAccessibleContext.class, AC); if (xAC != null) { - return "" + xAC.getAccessibleRole() + "," + + return xAC.getAccessibleRole() + "," + xAC.getAccessibleName() + "(" + xAC.getAccessibleDescription() + "):"; } @@ -345,7 +345,7 @@ public class AccessibilityTools { xAC = xA.getAccessibleContext(); - return "" + xAC.getAccessibleRole() + "," + xAC.getAccessibleName() + + return xAC.getAccessibleRole() + "," + xAC.getAccessibleName() + "(" + xAC.getAccessibleDescription() + ")"; } diff --git a/qadevOOo/runner/util/RegistryTools.java b/qadevOOo/runner/util/RegistryTools.java index 65eacf4dad94..72ef5e74370d 100644 --- a/qadevOOo/runner/util/RegistryTools.java +++ b/qadevOOo/runner/util/RegistryTools.java @@ -321,7 +321,7 @@ public class RegistryTools { out.print("[BINARY] = {") ; byte[] bin = key.getBinaryValue() ; for (int i = 0; i < bin.length; i++) - out.print("" + bin[i] + ",") ; + out.print(bin[i] + ",") ; out.println("}") ; } else if (type.equals(RegistryValueType.ASCIILIST)) { @@ -342,7 +342,7 @@ public class RegistryTools { out.print("[LONGLIST] = {") ; int[] list = key.getLongListValue() ; for (int i = 0; i < list.length; i++) - out.print("" + list[i] + ",") ; + out.print(list[i] + ",") ; out.println("}") ; } else { out.println("") ; |