JavaContext.st
changeset 3196 d617b4590431
parent 3083 ccde6af7278c
child 3228 a35cc585bb5a
--- a/JavaContext.st	Mon Aug 04 15:43:51 2014 +0100
+++ b/JavaContext.st	Mon Aug 04 16:13:14 2014 +0100
@@ -323,15 +323,17 @@
     "Modified: / 26-08-2012 / 19:28:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
-addMonitor: mon 
-    self assert: (acqrMonitors isNil or: [ acqrMonitors isOrderedCollection ]).
-    acqrMonitors ifNil: [ acqrMonitors := Stack new ].
-    acqrMonitors push: mon.
+addMonitor:mon 
+    self assert:(acqrMonitors isNil or:[ acqrMonitors isOrderedCollection ]).
+    acqrMonitors isNil ifTrue:[
+        acqrMonitors := Stack new
+    ].
+    acqrMonitors push:mon.
     self markForUnwind.
 
     "Created: / 08-11-2011 / 14:19:21 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
-    "Modified: / 08-11-2011 / 21:40:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 17-11-2011 / 19:13:15 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
+    "Modified: / 04-08-2014 / 15:54:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 argsAndVars