#OTHER by cg
authorClaus Gittinger <cg@exept.de>
Mon, 27 May 2019 15:02:00 +0200
changeset 24174 ad6a44e0f038
parent 24173 ee8d63b7e7a4
child 24175 f8e000cf6617
#OTHER by cg category of: #postCopy #postDeepCopy #postDeepCopyFrom:
ImmutableArray.st
--- a/ImmutableArray.st	Mon May 27 15:01:51 2019 +0200
+++ b/ImmutableArray.st	Mon May 27 15:02:00 2019 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1995 by Claus Gittinger
 	      All Rights Reserved
@@ -164,18 +162,6 @@
 
 !ImmutableArray methodsFor:'copying'!
 
-postCopy
-    "when copied, make it me a real (mutable) Array"
-
-    self changeClassTo:Array.
-!
-
-postDeepCopy
-    "when copied, make it me a real (mutable) Array"
-
-    self changeClassTo:Array.
-!
-
 shallowCopy
     "when copying, return a real (mutable) Array"
 
@@ -189,6 +175,20 @@
     "
 ! !
 
+!ImmutableArray methodsFor:'copying-private'!
+
+postCopy
+    "when copied, make it me a real (mutable) Array"
+
+    self changeClassTo:Array.
+!
+
+postDeepCopy
+    "when copied, make it me a real (mutable) Array"
+
+    self changeClassTo:Array.
+! !
+
 
 !ImmutableArray methodsFor:'private'!