#DOCUMENTATION by exept
authorClaus Gittinger <cg@exept.de>
Sun, 01 Dec 2019 16:11:20 +0100
changeset 25028 4ed2d89bf2a4
parent 25027 d552e6a21c22
child 25029 c16078bae17f
#DOCUMENTATION by exept class: UndefinedObject class comment/format in: #hasSharedInstances
UndefinedObject.st
--- a/UndefinedObject.st	Sun Dec 01 16:11:11 2019 +0100
+++ b/UndefinedObject.st	Sun Dec 01 16:11:20 2019 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1988 by Claus Gittinger
 	      All Rights Reserved
@@ -110,7 +112,6 @@
     "Modified: 3.1.1997 / 15:06:15 / cg"
 ! !
 
-
 !UndefinedObject class methodsFor:'queries'!
 
 canBeSubclassed
@@ -135,13 +136,11 @@
 !
 
 hasSharedInstances
-    "return true if this class has shared instances, that is, instances
-     with the same value are identical.
+    "return true if this class can share instances when stored binary, 
+     that is, instances with the same value can be stored by reference.
      True returned here - there is only one nil."
 
     ^ true
-
-
 !
 
 isBuiltInClass
@@ -153,7 +152,6 @@
     ^ self == UndefinedObject
 ! !
 
-
 !UndefinedObject methodsFor:'Compatibility-Squeak'!
 
 subclass:nameSymbol
@@ -174,7 +172,6 @@
 ! !
 
 
-
 !UndefinedObject methodsFor:'converting'!
 
 asBoolean
@@ -391,7 +388,6 @@
     "Modified (comment): / 17-05-2017 / 16:37:19 / mawalch"
 ! !
 
-
 !UndefinedObject methodsFor:'subclass creation'!
 
 nilSubclass:action
@@ -841,7 +837,6 @@
     ^ aVisitor visitNilWith:aParameter
 ! !
 
-
 !UndefinedObject class methodsFor:'documentation'!
 
 version