X Tutup
Skip to content

Commit 59708af

Browse files
author
Johan Brichau
committed
Simplified fix of previous commit
1 parent 88120a0 commit 59708af

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

repository/Grease-GemStone-Core.package/GRDynamicVariable.class/class/value.st

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ accessing
22
value
33
"Override required for compatibility in GS2.4 where environmentAt:ifAbsent: is flawed because it can still return nil when absent instead of executing the ifAbsent block"
44

5-
^ Processor activeProcess environment
6-
ifNil: [ self defaultValue ]
7-
ifNotNil: [ :env | env at: self ifAbsent: [ self defaultValue ] ]
5+
^ Processor activeProcess environment at: self ifAbsent: [ self defaultValue ]

repository/Grease-GemStone-Core.package/GRDynamicVariable.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"default" : "JohanBrichau 07/23/2017 09:48",
44
"defaultValue" : "JohanBrichau 07/23/2017 09:47",
55
"use:during:" : "JB 09/08/2017 00:34",
6-
"value" : "JohanBrichau 10/04/2017 04:35" },
6+
"value" : "JB 10/04/2017 04:57" },
77
"instance" : {
88
} }

0 commit comments

Comments
 (0)
X Tutup