java: no need to call String.valueOf to append to a String

Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
This commit is contained in:
Noel Grandin
2014-10-16 12:51:54 +02:00
parent 3beae0f05d
commit 12b01b920f
24 changed files with 54 additions and 56 deletions

View File

@@ -222,8 +222,8 @@ public class NotesAccess implements Runnable {
// Inserting the total value.
insertIntoCell(intColumn + 3, intRow, "=B"
+ String.valueOf( intRow + 1 )
+ "*C" + String.valueOf(intRow + 1),
+ ( intRow + 1 )
+ "*C" + (intRow + 1),
xSpreadsheet, "");
// Increasing the current row.
@@ -235,8 +235,8 @@ public class NotesAccess implements Runnable {
// Summing all specific amounts.
insertIntoCell(intColumn + 3, intRow, "=sum(D"
+ String.valueOf( intRowToStart + 1 ) + ":D"
+ String.valueOf( intRow ),
+ ( intRowToStart + 1 ) + ":D"
+ intRow,
xSpreadsheet, "");
xContext = null;