#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Wed, 07 Feb 2018 19:50:23 +0100
changeset 22537 2623e7d85add
parent 22536 1ed4343923f0
child 22538 6e284010195b
#REFACTORING by stefan class: ProcessorScheduler changed: #addTimedBlock:for:afterMilliseconds:
ProcessorScheduler.st
--- a/ProcessorScheduler.st	Wed Feb 07 12:31:53 2018 +0100
+++ b/ProcessorScheduler.st	Wed Feb 07 19:50:23 2018 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
               All Rights Reserved
@@ -2999,15 +2997,15 @@
      (i.e. it will trigger only once).
      Returns an ID, which can be used in #removeTimeoutWithID:"
 
-    |now then id|
+    |now then|
 
     now := OperatingSystem getMillisecondTime.
     then := OperatingSystem millisecondTimeAdd:now and:delta.
-    id := self addTimedBlock:aBlock for:aProcess atMilliseconds:then.
-    ^ id
+    ^ self addTimedBlock:aBlock for:aProcess atMilliseconds:then.
 
     "Modified: / 18-07-2017 / 14:04:31 / cg"
     "Modified (comment): / 20-07-2017 / 16:43:29 / cg"
+    "Modified: / 07-02-2018 / 17:25:56 / stefan"
 !
 
 addTimedBlock:aBlock for:aProcess afterSeconds:delta