summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Database/Sales.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 12:44:57 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:23 +0200
commit68cd011c907d00493bf2bfde531c1e244819596b (patch)
tree0225318c908b00faaa701a19aaf7aa567c3582a0 /odk/examples/DevelopersGuide/Database/Sales.java
parent70f56bc22fe952c75ec714e05e1bb5296491a36a (diff)
java: reduce scope, make some methods private
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
Diffstat (limited to 'odk/examples/DevelopersGuide/Database/Sales.java')
-rw-r--r--odk/examples/DevelopersGuide/Database/Sales.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Database/Sales.java b/odk/examples/DevelopersGuide/Database/Sales.java
index 12f68e9f6b45..a18b0cd85745 100644
--- a/odk/examples/DevelopersGuide/Database/Sales.java
+++ b/odk/examples/DevelopersGuide/Database/Sales.java
@@ -142,7 +142,7 @@ public class Sales
}
// inserts a row programmatically.
- public void insertRow() throws com.sun.star.uno.Exception
+ private void insertRow() throws com.sun.star.uno.Exception
{
// example for a programmatic way to do updates.
XStatement stmt = con.createStatement();
@@ -170,7 +170,7 @@ public class Sales
}
// deletes a row programmatically.
- public void deleteRow() throws com.sun.star.uno.Exception
+ private void deleteRow() throws com.sun.star.uno.Exception
{
// example for a programmatic way to do updates.
XStatement stmt = con.createStatement();