summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-18 13:44:57 +0200
committerNoel Grandin <noel@peralex.com>2015-01-05 10:14:55 +0200
commite28151d579a2ca25487ccd3bdc73eeabf931850c (patch)
treec68cda15a147f627838b5d8d66d55651c358c7c1
parentjava: remove more dead code (diff)
downloadcore-e28151d579a2ca25487ccd3bdc73eeabf931850c.tar.gz
core-e28151d579a2ca25487ccd3bdc73eeabf931850c.zip
java: use brackets to make difference between concat and plus
.. more obvious found by CodePro Change-Id: I60b05b01819a756a07d2358e3cfe8b0d7d4436a6
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
index be71e7e65e76..f09b1e3f0023 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
@@ -150,7 +150,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
if (oObj.containsPoint(new Point(x, bounds.Height + bounds.Y))) {
log.println(
"Outer upper and lower bounds CONTAIN some component point"
- + " (" + x + ", " + bounds.Height + bounds.Y
+ + " (" + x + ", " + (bounds.Height + bounds.Y)
+ ") - FAILED");
locRes = false;
break;
@@ -177,7 +177,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
if (oObj.containsPoint(new Point(bounds.X + bounds.Width, y))) {
log.println(
"Outer left and right bounds CONTAIN some component point"
- + " (" + bounds.X + bounds.Width + ", " + y + ") - FAILED");
+ + " (" + (bounds.X + bounds.Width) + ", " + y + ") - FAILED");
locRes = false;
break;
}