fixed my really stupid bug in JavaResolver>>wrapJavaClas.. jk_new_structure
authorhlopkmar
Mon, 23 May 2011 12:42:27 +0000
branchjk_new_structure
changeset 813 cb429d02faca
parent 812 62e917825364
child 814 68df82c46fb0
fixed my really stupid bug in JavaResolver>>wrapJavaClas..
src/JavaResolver.st
--- a/src/JavaResolver.st	Sun May 22 17:09:22 2011 +0000
+++ b/src/JavaResolver.st	Mon May 23 12:42:27 2011 +0000
@@ -173,18 +173,20 @@
 !
 
 wrapJavaClass: aJavaClass withArrayAsSpecifiedIn: aJavaClassRef 
-
     "wraps aJavaClass with as many array dimensions as needed (zero means no array)"
+    
     | arrayClass |
 
     aJavaClassRef isJavaArrayClassRef ifFalse: [ ^ aJavaClass ].
     aJavaClassRef arrayDimensions timesRepeat: 
-            [arrayClass := aJavaClass.
+            [ arrayClass := aJavaClass.
             arrayClass := arrayClass arrayClass.
-            ^ arrayClass ].
+             ].
+^ arrayClass.
 
     "Created: / 08-04-2011 / 18:40:00 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
     "Modified: / 22-05-2011 / 17:48:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 23-05-2011 / 14:43:02 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
 ! !
 
 !JavaResolver methodsFor:'common helpers'!