#DOCUMENTATION by cgexept.de
authorClaus Gittinger <cg@exept.de>
Sun, 04 Nov 2018 15:30:45 +0100
changeset 4759 847dd7b8f285
parent 4758 b9a20088ef47
child 4760 af49befda4a3
#DOCUMENTATION by cgexept.de class: CachedValue comment/format in: #forceInvalid changed: #isValid
CachedValue.st
--- a/CachedValue.st	Sun Nov 04 15:28:51 2018 +0100
+++ b/CachedValue.st	Sun Nov 04 15:30:45 2018 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2012 by eXept Software AG
               All Rights Reserved
@@ -183,7 +185,7 @@
     "true if the cached value is still valid"
 
     expirationTime notNil ifTrue:[
-        expirationTime > Timestamp now ifTrue:[
+        Timestamp now < expirationTime ifTrue:[
             ^ true
         ].
         expirationTime := nil.