ImmutableArray.st
changeset 24174 ad6a44e0f038
parent 23924 a81fe242d2c9
child 24311 196e4a37ae7a
--- 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'!