diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2008-10-31 12:21:02 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2008-10-31 12:21:02 -0230 |
commit | cb1fbabb8e0da9fa65bd82c7e675f14124b41e0d (patch) | |
tree | 3ded79fcf0c93b3e6bab158e82b59c248eb8d779 /java/demo/Freeze/bench/Client.java | |
parent | Bug 3357 - Remove unsued variable from splitString (diff) | |
download | ice-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.java | 27 |
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; } |