Skip to content

Commit

Permalink
refactoring: Check all lazy inits
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke committed Aug 3, 2022
1 parent 835efc1 commit c2bd7ba
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Squello-Core.package/SPBCard.class/instance/assignees.st
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
assignees

^ assignees ifNil: [assignees := #() asCollection].
^ assignees ifNil: [assignees := OrderedCollection new].
2 changes: 1 addition & 1 deletion Squello-Core.package/SPBCard.class/instance/labels.st
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
labels

^ labels ifNil: [labels := #() asCollection].
^ labels ifNil: [labels := OrderedCollection new].
4 changes: 2 additions & 2 deletions Squello-Core.package/SPBCard.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"assigneeModel" : "tk 8/2/2022 23:27",
"assigneeModel:" : "tk 8/2/2022 23:27",
"assigneeOffset" : "lo 8/1/2022 11:45",
"assignees" : "lo 7/31/2022 17:27",
"assignees" : "lo 8/3/2022 09:47",
"assignees:" : "mcr 5/27/2022 11:36",
"becomeActiveCard" : "mcr 8/1/2022 02:42",
"boardProvider" : "jh 7/29/2022 12:46",
Expand Down Expand Up @@ -47,7 +47,7 @@
"labelModels" : "tk 8/2/2022 23:28",
"labelModels:" : "tk 8/2/2022 23:28",
"labelTitleOffset" : "lo 8/1/2022 11:18",
"labels" : "lo 7/31/2022 17:25",
"labels" : "lo 8/3/2022 09:47",
"labels:" : "lo 7/31/2022 16:29",
"lowerHalfIndicator" : "tk 8/2/2022 23:22",
"lowerHalfIndicator:" : "tk 8/2/2022 23:22",
Expand Down
2 changes: 1 addition & 1 deletion Squello-Core.package/SPBNullCard.class/instance/^equals.st
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
comparing
= anSPBAbstractCard
"Answer whether the receiver and anObject represent the same object."

Expand Down
2 changes: 1 addition & 1 deletion Squello-Core.package/SPBNullCard.class/instance/hash.st
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
as yet unclassified
comparing
hash

^ 0.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
accessing
reject: aBlock
reject: aBlockClosure

reject := aBlock.
reject := aBlockClosure.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
"dropped" : "LW 7/14/2022 11:20",
"dropped:" : "lo 8/1/2022 15:20",
"reject" : "lo 5/26/2022 21:47",
"reject:" : "lo 5/26/2022 21:47" } }
"reject:" : "lo 8/3/2022 09:50" } }

0 comments on commit c2bd7ba

Please sign in to comment.