diff options
Diffstat (limited to 'java/test/Ice/adapterDeactivation/ServantLocatorI.java')
-rw-r--r-- | java/test/Ice/adapterDeactivation/ServantLocatorI.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/java/test/Ice/adapterDeactivation/ServantLocatorI.java b/java/test/Ice/adapterDeactivation/ServantLocatorI.java index 639a493f149..80e2241a214 100644 --- a/java/test/Ice/adapterDeactivation/ServantLocatorI.java +++ b/java/test/Ice/adapterDeactivation/ServantLocatorI.java @@ -37,9 +37,9 @@ public final class ServantLocatorI extends Ice.LocalObjectImpl implements Ice.Se locate(Ice.Current current, Ice.LocalObjectHolder cookie) { synchronized(this) - { - test(!_deactivated); - } + { + test(!_deactivated); + } test(current.id.category.length() == 0); test(current.id.name.equals("test")); @@ -52,10 +52,10 @@ public final class ServantLocatorI extends Ice.LocalObjectImpl implements Ice.Se public void finished(Ice.Current current, Ice.Object servant, Ice.LocalObject cookie) { - synchronized(this) - { - test(!_deactivated); - } + synchronized(this) + { + test(!_deactivated); + } Cookie co = (Cookie)cookie; test(co.message().equals("blahblah")); @@ -64,12 +64,12 @@ public final class ServantLocatorI extends Ice.LocalObjectImpl implements Ice.Se public synchronized void deactivate(String category) { - synchronized(this) - { - test(!_deactivated); + synchronized(this) + { + test(!_deactivated); - _deactivated = true; - } + _deactivated = true; + } } private boolean _deactivated; |