Method.st
branchjv
changeset 19478 1f5aa87f6170
parent 19027 d1a18f4568a8
parent 19449 607eb2e0e46c
child 19610 a9a6940944a9
--- a/Method.st	Fri Mar 25 06:29:08 2016 +0000
+++ b/Method.st	Sat Mar 26 07:56:10 2016 +0000
@@ -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|