diff options
author | Mark Spruiell <mes@zeroc.com> | 2009-04-03 15:15:13 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2009-04-03 15:15:13 -0700 |
commit | b415955846ce0d5c2e0c283f897190ccd2c3616a (patch) | |
tree | 10daf6bb8a05edf5052a33f10ea16c73d8ae0d89 /java/src/IceGridGUI/AdminRouter.java | |
parent | Bug 3465 - Remove _adapter members from test where unecessary (diff) | |
download | ice-b415955846ce0d5c2e0c283f897190ccd2c3616a.tar.bz2 ice-b415955846ce0d5c2e0c283f897190ccd2c3616a.tar.xz ice-b415955846ce0d5c2e0c283f897190ccd2c3616a.zip |
removing Java2 mapping
Diffstat (limited to 'java/src/IceGridGUI/AdminRouter.java')
-rw-r--r-- | java/src/IceGridGUI/AdminRouter.java | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/java/src/IceGridGUI/AdminRouter.java b/java/src/IceGridGUI/AdminRouter.java index dfafff81963..d1360fff1df 100644 --- a/java/src/IceGridGUI/AdminRouter.java +++ b/java/src/IceGridGUI/AdminRouter.java @@ -6,22 +6,18 @@ // ICE_LICENSE file included in this distribution. // // ********************************************************************** + package IceGridGUI; import IceGrid.*; class AdminRouter extends Ice.Blobject { - public boolean ice_invoke(byte[] inParams, - Ice.ByteSeqHolder outParams, - Ice.Current current) + public boolean ice_invoke(byte[] inParams, Ice.ByteSeqHolder outParams, Ice.Current current) { - if(_admin == null) { - throw new Ice.ObjectNotExistException(current.id, - current.facet, - current.operation); + throw new Ice.ObjectNotExistException(current.id, current.facet, current.operation); } else if(current.operation.equals("ice_id") || current.operation.equals("ice_ids") || @@ -29,20 +25,14 @@ class AdminRouter extends Ice.Blobject current.operation.equals("ice_ping") || current.operation.equals("getDefaultApplicationDescriptor")) { - - return _admin.ice_invoke(current.operation, - current.mode, - inParams, outParams, - current.ctx); + return _admin.ice_invoke(current.operation, current.mode, inParams, outParams, current.ctx); } else { // // Routing other operations could be a security risk // - throw new Ice.OperationNotExistException(current.id, - current.facet, - current.operation); + throw new Ice.OperationNotExistException(current.id, current.facet, current.operation); } } |