Method.st
changeset 19449 607eb2e0e46c
parent 19025 f35582ce8389
child 19478 1f5aa87f6170
child 19585 2aab71e0f0b6
--- a/Method.st	Fri Mar 25 17:01:18 2016 +0100
+++ b/Method.st	Fri Mar 25 17:01:28 2016 +0100
@@ -1411,7 +1411,7 @@
 
 asExecutableMethod
     "if the receiver has neither bytecodes nor machinecode, create & return a
-     method having semantics as the receivers source. This may be machine code,
+     method having semantics as the receiver's source. This may be machine code,
      if the system supports dynamic loading of object code and the source includes
      primitive code. However, bytecode is preferred, since it compiles faster.
      Otherwise, return the receiver. The new method is not installed in
@@ -1421,23 +1421,23 @@
     |temporaryMethod sourceString|
 
     byteCode notNil ifTrue:[
-	"
-	 is already a bytecoded method
-	"
-	^ self
+        "
+         is already a bytecoded method
+        "
+        ^ self
     ].
 
     sourceString := self source.
     sourceString isNil ifTrue:[
-	'Method [warning]: cannot generate bytecode (no source for compilation)' errorPrintCR.
-	^ nil
+        'Method [warning]: cannot generate bytecode (no source for compilation)' errorPrintCR.
+        ^ nil
     ].
 
     temporaryMethod := self asExecutableMethodWithSource:sourceString.
 
     (temporaryMethod isNil or:[temporaryMethod == #Error]) ifTrue:[
-	'Method [warning]: cannot generate bytecode (contains primitive code or error)' errorPrintCR.
-	^ nil.
+        'Method [warning]: cannot generate bytecode (contains primitive code or error)' errorPrintCR.
+        ^ nil.
     ].
     "/
     "/ try to save a bit of memory, by sharing the source (whatever it is)
@@ -2985,7 +2985,7 @@
 
 modificationTime
     "try to extract the modificationTime as a timeStamp from
-     the receivers source. If there is no source or no history line,
+     the receiver's source. If there is no source or no history line,
      we do not know the modification time, and nil is returned."
 
     |s list histLine|
@@ -2998,8 +2998,8 @@
     list isEmptyOrNil ifTrue:[^ nil].
     histLine := list last.
     ^ Timestamp
-	fromDate:histLine date
-	andTime:histLine time
+        fromDate:histLine date
+        andTime:histLine time
 
     "
      (Method compiledMethodAt:#modificationTime) modificationTime
@@ -3176,7 +3176,7 @@
 !
 
 previousVersion
-    "return the receivers previous version's source code"
+    "return the receiver's previous version's source code"
 
     |previous|
 
@@ -3227,7 +3227,7 @@
 !
 
 previousVersionCode
-    "return the receivers previous versions source code"
+    "return the receiver's previous version's source code"
 
     |previous|