summaryrefslogtreecommitdiffstats
path: root/odk
diff options
context:
space:
mode:
Diffstat (limited to 'odk')
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java2
-rw-r--r--odk/examples/java/NotesAccess/NotesAccess.java8
2 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
index 109335f3cbea..c30115770325 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
@@ -49,7 +49,7 @@ class ExampleAddInResult implements com.sun.star.sheet.XVolatileResult
{
com.sun.star.sheet.ResultEvent aEvent =
new com.sun.star.sheet.ResultEvent();
- aEvent.Value = aName + " " + String.valueOf( nValue );
+ aEvent.Value = aName + " " + nValue;
aEvent.Source = this;
return aEvent;
}
diff --git a/odk/examples/java/NotesAccess/NotesAccess.java b/odk/examples/java/NotesAccess/NotesAccess.java
index 2bc0a2c5cdbb..4eb6c912250d 100644
--- a/odk/examples/java/NotesAccess/NotesAccess.java
+++ b/odk/examples/java/NotesAccess/NotesAccess.java
@@ -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;