--- a/JavaConstantPool.st Tue Sep 17 12:19:54 2013 +0100
+++ b/JavaConstantPool.st Fri Sep 20 02:03:08 2013 +0100
@@ -78,7 +78,7 @@
invalidateForClass: internalJavaClassName
"Only alias, everybody calls invalidateForClass so why not me :)"
- ^self invalidateReferencesToClass: internalJavaClassName.
+ ^ self invalidateReferencesToClass: internalJavaClassName.
"Created: / 08-04-2011 / 16:52:52 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
!
@@ -152,24 +152,6 @@
"Created: / 13-05-2011 / 09:05:34 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
! !
-!JavaConstantPool methodsFor:'invalidation'!
-
-invalidateForClass: slashedJavaClassName
- "Invalidate all resolved references to given class.
- Returns true if at least one ref has been invalidated,
- false otherwise"
-
- | anyInvalidated |
- anyInvalidated := false.
- self do:[:ref|
- (ref notNil and:[ref isString not and:[ref isNumber not]]) ifTrue:[
- anyInvalidated := anyInvalidated | (ref invalidateForClass: slashedJavaClassName)].
- ].
- ^anyInvalidated
-
- "Created: / 08-04-2011 / 16:11:36 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
- "Modified: / 22-02-2012 / 20:53:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-! !
!JavaConstantPool methodsFor:'printing & storing'!