--- a/ImmutableString.st Thu Nov 05 15:37:31 2009 +0100
+++ b/ImmutableString.st Thu Nov 05 15:37:33 2009 +0100
@@ -42,12 +42,12 @@
a string constant as argument to someone else, who changes the
string using at:put: like messages. Since the string object is kept in
the first methods literals, the string constant has now been changed without
- having the methods sourcecode reflect this. Thus, the method will
+ having the method's sourcecode reflect this. Thus, the method will
behave differently from what its source may make you think.
To help finding this kind of 'feature/bug', the compiler can be
configured to create instances of this ImmutableString instead of Strings
- for string literals. Instances of ImmutableString catch storing accesses and
+ for literals. Instances of ImmutableString catch storing accesses and
enter the debugger. Although useful, this feature is disabled by default
for compatibility to other smalltalk implementations.
(Also, if turned on, this makes inspecting string literals entered in
@@ -63,7 +63,6 @@
[author:]
Claus Gittinger
"
-
! !
!ImmutableString methodsFor:'accessing'!
@@ -215,9 +214,9 @@
!ImmutableString class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.5 2009-11-05 14:34:58 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.6 2009-11-05 14:37:33 cg Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.5 2009-11-05 14:34:58 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/ImmutableString.st,v 1.6 2009-11-05 14:37:33 cg Exp $'
! !