summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Database/sdbcx.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Database/sdbcx.java')
-rw-r--r--odk/examples/DevelopersGuide/Database/sdbcx.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/Database/sdbcx.java b/odk/examples/DevelopersGuide/Database/sdbcx.java
index fb498591f2ac..ddb263cd938d 100644
--- a/odk/examples/DevelopersGuide/Database/sdbcx.java
+++ b/odk/examples/DevelopersGuide/Database/sdbcx.java
@@ -44,11 +44,12 @@ import com.sun.star.lang.XMultiServiceFactory;
public class sdbcx
{
- private XMultiServiceFactory xORB;
+ private final XMultiServiceFactory xORB;
private static XConnection con;
private XTablesSupplier xTabSup;
- public static XMultiServiceFactory rSmgr;
+ public static XMultiServiceFactory rSmgr;
+
public static void main(String argv[]) throws java.lang.Exception
{
try{