summaryrefslogtreecommitdiff
path: root/java/demo/Database/library/Server.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-08-21 16:05:39 -0700
committerMark Spruiell <mes@zeroc.com>2008-08-21 16:05:39 -0700
commit8b37d7d67591cdc13368ff368b216a7e03589330 (patch)
treec14ff5682ccacac5d1af98af02d7d68ab9584397 /java/demo/Database/library/Server.java
parentadded missing file. (diff)
downloadice-8b37d7d67591cdc13368ff368b216a7e03589330.tar.bz2
ice-8b37d7d67591cdc13368ff368b216a7e03589330.tar.xz
ice-8b37d7d67591cdc13368ff368b216a7e03589330.zip
more fixes to JDBC demo
Diffstat (limited to 'java/demo/Database/library/Server.java')
-rw-r--r--java/demo/Database/library/Server.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/demo/Database/library/Server.java b/java/demo/Database/library/Server.java
index 8421b277e44..2b8d9aa0af5 100644
--- a/java/demo/Database/library/Server.java
+++ b/java/demo/Database/library/Server.java
@@ -33,8 +33,9 @@ class LibraryServer extends Ice.Application
{
return _libraryServant;
}
- else //if(c.id.category.equals("book"))
+ else
{
+ assert(c.id.category.equals("book"));
return _bookServant;
}
}
@@ -88,7 +89,7 @@ class LibraryServer extends Ice.Application
try
{
- Class.forName ("com.mysql.jdbc.Driver").newInstance();
+ Class.forName("com.mysql.jdbc.Driver").newInstance();
}
catch(Exception e)
{