summaryrefslogtreecommitdiff
path: root/java/demo/Freeze/bench/Client.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-10-31 12:21:02 -0230
committerDwayne Boone <dwayne@zeroc.com>2008-10-31 12:21:02 -0230
commitcb1fbabb8e0da9fa65bd82c7e675f14124b41e0d (patch)
tree3ded79fcf0c93b3e6bab158e82b59c248eb8d779 /java/demo/Freeze/bench/Client.java
parentBug 3357 - Remove unsued variable from splitString (diff)
downloadice-cb1fbabb8e0da9fa65bd82c7e675f14124b41e0d.tar.bz2
ice-cb1fbabb8e0da9fa65bd82c7e675f14124b41e0d.tar.xz
ice-cb1fbabb8e0da9fa65bd82c7e675f14124b41e0d.zip
Bug 3385 - java class must match file name
Diffstat (limited to 'java/demo/Freeze/bench/Client.java')
-rw-r--r--java/demo/Freeze/bench/Client.java27
1 files changed, 12 insertions, 15 deletions
diff --git a/java/demo/Freeze/bench/Client.java b/java/demo/Freeze/bench/Client.java
index 6492a3da01d..a1c3b17aca9 100644
--- a/java/demo/Freeze/bench/Client.java
+++ b/java/demo/Freeze/bench/Client.java
@@ -9,13 +9,8 @@
import Demo.*;
-class TestApp extends Ice.Application
+class Client extends Ice.Application
{
- TestApp(String envName)
- {
- _envName = envName;
- }
-
void
IntIntMapTest(Freeze.Map m, boolean fast)
{
@@ -594,18 +589,20 @@ class TestApp extends Ice.Application
}
}
- private Freeze.Connection _connection;
- private int _repetitions = 10000;
- private StopWatch _watch = new StopWatch();
- private String _envName;
-}
+ Client(String envName)
+ {
+ _envName = envName;
+ }
-public class Client
-{
static public void
main(String[] args)
{
- TestApp app = new TestApp("db");
- app.main("test.Freeze.bench.Client", args);
+ Client app = new Client("db");
+ app.main("demo.Freeze.bench.Client", args);
}
+
+ private Freeze.Connection _connection;
+ private int _repetitions = 10000;
+ private StopWatch _watch = new StopWatch();
+ private String _envName;
}