diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-16 12:51:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-17 08:26:19 +0200 |
commit | 12b01b920f42666db84c8be1c9b6fd89a86eea4e (patch) | |
tree | 35a462009765a838e1381fe5d7614caed450daef /qadevOOo/runner/convwatch/ConvWatch.java | |
parent | 3beae0f05d1c8c976dfcebe02c8830752d708c74 (diff) |
java: no need to call String.valueOf to append to a String
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
Diffstat (limited to 'qadevOOo/runner/convwatch/ConvWatch.java')
-rw-r--r-- | qadevOOo/runner/convwatch/ConvWatch.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/runner/convwatch/ConvWatch.java b/qadevOOo/runner/convwatch/ConvWatch.java index 4d23bae8e09b..b1591d40ac09 100644 --- a/qadevOOo/runner/convwatch/ConvWatch.java +++ b/qadevOOo/runner/convwatch/ConvWatch.java @@ -217,7 +217,7 @@ public class ConvWatch boolean bResultIsOk = true; // result over all pages for (int i=0;i<aList.length; i++) { - INIoutput.writeSection("page" + String.valueOf(i + 1)); // list start at point 0, but this is page 1 and so on... current_page = (i + 1) + INIoutput.writeSection("page" + (i + 1)); // list start at point 0, but this is page 1 and so on... current_page = (i + 1) aList[i].printStatus(); boolean bCurrentResult = true; // result over exact one page @@ -276,7 +276,7 @@ public class ConvWatch for (int i=0;i<aDiffDiffList.length; i++) { - INIoutput.writeSection("page" + String.valueOf(i + 1)); // list start at point 0, but this is page 1 and so on... current_page = (i + 1) + INIoutput.writeSection("page" + (i + 1)); // list start at point 0, but this is page 1 and so on... current_page = (i + 1) boolean bCurrentResult = (aDiffDiffList[i].nDiffStatus == StatusHelper.DIFF_NO_DIFFERENCES); // logic: nDiff==0 = true if there is no difference INIoutput.checkDiffDiffLine(aDiffDiffList[i], bCurrentResult); |