summaryrefslogtreecommitdiff
path: root/java/demo/book/lifecycle/Server.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/book/lifecycle/Server.java')
-rw-r--r--java/demo/book/lifecycle/Server.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/java/demo/book/lifecycle/Server.java b/java/demo/book/lifecycle/Server.java
index c6f681db73a..afa26093a42 100644
--- a/java/demo/book/lifecycle/Server.java
+++ b/java/demo/book/lifecycle/Server.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,7 +9,7 @@
import FilesystemI.*;
-class FilesystemApp extends Ice.Application
+class Server extends Ice.Application
{
public int
run(String[] args)
@@ -44,14 +44,11 @@ class FilesystemApp extends Ice.Application
return 0;
}
-}
-public class Server
-{
static public void
main(String[] args)
{
- FilesystemApp app = new FilesystemApp();
+ Server app = new Server();
app.main("demo.book.lifecycle.Server", args);
}
}