diff options
Diffstat (limited to 'java/demo/Freeze/bench/Client.java')
-rw-r--r-- | java/demo/Freeze/bench/Client.java | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/java/demo/Freeze/bench/Client.java b/java/demo/Freeze/bench/Client.java index 6492a3da01d..946dae1c76d 100644 --- a/java/demo/Freeze/bench/Client.java +++ b/java/demo/Freeze/bench/Client.java @@ -1,6 +1,6 @@ // ********************************************************************** // -// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. +// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. // // This copy of Ice is licensed to you under the terms described in the // ICE_LICENSE file included in this distribution. @@ -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; } |