From c2bd7ba4c855648b5a51ce7e2e0b1688a9d54425 Mon Sep 17 00:00:00 2001 From: Luke Date: Wed, 3 Aug 2022 09:51:40 +0200 Subject: [PATCH] refactoring: Check all lazy inits --- Squello-Core.package/SPBCard.class/instance/assignees.st | 2 +- Squello-Core.package/SPBCard.class/instance/labels.st | 2 +- Squello-Core.package/SPBCard.class/methodProperties.json | 4 ++-- Squello-Core.package/SPBNullCard.class/instance/^equals.st | 2 +- Squello-Core.package/SPBNullCard.class/instance/hash.st | 2 +- .../SPBPluggablePasteUpSpec.class/instance/reject..st | 4 ++-- .../SPBPluggablePasteUpSpec.class/methodProperties.json | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Squello-Core.package/SPBCard.class/instance/assignees.st b/Squello-Core.package/SPBCard.class/instance/assignees.st index 4f392a65..58e37ccb 100644 --- a/Squello-Core.package/SPBCard.class/instance/assignees.st +++ b/Squello-Core.package/SPBCard.class/instance/assignees.st @@ -1,4 +1,4 @@ accessing assignees - ^ assignees ifNil: [assignees := #() asCollection]. \ No newline at end of file + ^ assignees ifNil: [assignees := OrderedCollection new]. \ No newline at end of file diff --git a/Squello-Core.package/SPBCard.class/instance/labels.st b/Squello-Core.package/SPBCard.class/instance/labels.st index d064a255..aa9e13ff 100644 --- a/Squello-Core.package/SPBCard.class/instance/labels.st +++ b/Squello-Core.package/SPBCard.class/instance/labels.st @@ -1,4 +1,4 @@ accessing labels - ^ labels ifNil: [labels := #() asCollection]. \ No newline at end of file + ^ labels ifNil: [labels := OrderedCollection new]. \ No newline at end of file diff --git a/Squello-Core.package/SPBCard.class/methodProperties.json b/Squello-Core.package/SPBCard.class/methodProperties.json index c24578a1..d18d0494 100644 --- a/Squello-Core.package/SPBCard.class/methodProperties.json +++ b/Squello-Core.package/SPBCard.class/methodProperties.json @@ -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", @@ -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", diff --git a/Squello-Core.package/SPBNullCard.class/instance/^equals.st b/Squello-Core.package/SPBNullCard.class/instance/^equals.st index 9fa61346..916ade22 100644 --- a/Squello-Core.package/SPBNullCard.class/instance/^equals.st +++ b/Squello-Core.package/SPBNullCard.class/instance/^equals.st @@ -1,4 +1,4 @@ -as yet unclassified +comparing = anSPBAbstractCard "Answer whether the receiver and anObject represent the same object." diff --git a/Squello-Core.package/SPBNullCard.class/instance/hash.st b/Squello-Core.package/SPBNullCard.class/instance/hash.st index 46e11a77..ad8975b1 100644 --- a/Squello-Core.package/SPBNullCard.class/instance/hash.st +++ b/Squello-Core.package/SPBNullCard.class/instance/hash.st @@ -1,4 +1,4 @@ -as yet unclassified +comparing hash ^ 0. \ No newline at end of file diff --git a/Squello-Core.package/SPBPluggablePasteUpSpec.class/instance/reject..st b/Squello-Core.package/SPBPluggablePasteUpSpec.class/instance/reject..st index 3bcab58f..14c13439 100644 --- a/Squello-Core.package/SPBPluggablePasteUpSpec.class/instance/reject..st +++ b/Squello-Core.package/SPBPluggablePasteUpSpec.class/instance/reject..st @@ -1,4 +1,4 @@ accessing -reject: aBlock +reject: aBlockClosure - reject := aBlock. \ No newline at end of file + reject := aBlockClosure. \ No newline at end of file diff --git a/Squello-Core.package/SPBPluggablePasteUpSpec.class/methodProperties.json b/Squello-Core.package/SPBPluggablePasteUpSpec.class/methodProperties.json index 7087819d..e41554de 100644 --- a/Squello-Core.package/SPBPluggablePasteUpSpec.class/methodProperties.json +++ b/Squello-Core.package/SPBPluggablePasteUpSpec.class/methodProperties.json @@ -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" } }