Skip to content

Commit

Permalink
Fixed at:ifPresent:ifAbsentPut: calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardebeling committed Jun 13, 2018
1 parent e2cb2df commit 1a34e00
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"parsedRequestContents" : "lj 5/23/2018 21:50",
"parsedRequestContents:" : "lj 5/23/2018 21:51",
"persistObjectBy:from:" : "lj 5/3/2018 17:02",
"processRequest:" : "lj 6/5/2018 18:54",
"postFromRequest:" : "jm 6/1/2018 14:49",
"processRequest:" : "lj 6/5/2018 18:54",
"redirectBack" : "RS 5/18/2015 09:43",
"redirectTo:" : "lj 6/5/2018 17:55",
"registerModel:" : "LB 7/16/2015 12:08",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ incrementPostHookCounter: anEnv

anEnv at: #postHookCounter
ifPresent: [ :counter | anEnv at: #postHookCounter put: counter +1. ]
ifAbsentPut: [ 1 ].
ifAbsent: [ anEnv at: #postHookCounter put: 1 ].
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ incrementPreHookCounter: anEnv

anEnv at: #preHookCounter
ifPresent: [ :counter | anEnv at: #preHookCounter put: counter +1. ]
ifAbsentPut: [ 1 ].
ifAbsent: [ anEnv at: #preHookCounter put: 1 ].
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ incrementTimer: anEnv

anEnv at: #time
ifPresent: [ :time | anEnv at: #time put: time +1]
ifAbsentPut: [ 1 ].
ifAbsent: [ anEnv at: #time put: 1 ].
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"class" : {
"blacklist" : "lj 5/25/2018 19:48" },
"instance" : {
"incrementPostHookCounter:" : "lj 5/30/2018 14:50",
"incrementPreHookCounter:" : "lj 5/30/2018 14:50",
"incrementTimer:" : "lj 5/30/2018 14:51",
"incrementPostHookCounter:" : "re 6/13/2018 14:20",
"incrementPreHookCounter:" : "re 6/13/2018 14:20",
"incrementTimer:" : "re 6/13/2018 14:20",
"postHook:" : "lj 5/30/2018 14:52",
"preHook:" : "lj 5/30/2018 14:52" } }

0 comments on commit 1a34e00

Please sign in to comment.