summaryrefslogtreecommitdiff
path: root/java/test/Ice/location/ServerLocator.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/location/ServerLocator.java')
-rw-r--r--java/test/Ice/location/ServerLocator.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/java/test/Ice/location/ServerLocator.java b/java/test/Ice/location/ServerLocator.java
index c8b84b77306..51a3434f54c 100644
--- a/java/test/Ice/location/ServerLocator.java
+++ b/java/test/Ice/location/ServerLocator.java
@@ -12,37 +12,37 @@ public class ServerLocator extends Test._TestLocatorDisp
public
ServerLocator(ServerLocatorRegistry registry, Ice.LocatorRegistryPrx registryPrx)
{
- _registry = registry;
- _registryPrx = registryPrx;
- _requestCount = 0;
+ _registry = registry;
+ _registryPrx = registryPrx;
+ _requestCount = 0;
}
public void
findAdapterById_async(Ice.AMD_Locator_findAdapterById response, String adapter, Ice.Current current)
- throws Ice.AdapterNotFoundException
+ throws Ice.AdapterNotFoundException
{
- ++_requestCount;
- response.ice_response(_registry.getAdapter(adapter));
+ ++_requestCount;
+ response.ice_response(_registry.getAdapter(adapter));
}
public void
findObjectById_async(Ice.AMD_Locator_findObjectById response, Ice.Identity id, Ice.Current current)
- throws Ice.ObjectNotFoundException
+ throws Ice.ObjectNotFoundException
{
- ++_requestCount;
- response.ice_response(_registry.getObject(id));
+ ++_requestCount;
+ response.ice_response(_registry.getObject(id));
}
public Ice.LocatorRegistryPrx
getRegistry(Ice.Current current)
{
- return _registryPrx;
+ return _registryPrx;
}
public int
getRequestCount(Ice.Current current)
{
- return _requestCount;
+ return _requestCount;
}
private ServerLocatorRegistry _registry;