Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
GIOSDK committed Sep 5, 2024
1 parent 992c710 commit 44047f5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Modules/ABTesting/GrowingABTExperiment.m
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ - (BOOL)isEqualExperiment:(GrowingABTExperiment *)experiment {
if (![self.layerId isEqualToString:experiment.layerId]) {
return NO;
}

if (experiment.layerName != nil && ![self.layerName isEqualToString:experiment.layerName]) {
return NO;
}
Expand All @@ -100,7 +100,7 @@ - (BOOL)isEqualExperiment:(GrowingABTExperiment *)experiment {
if (experiment.experimentId == nil && self.experimentId != nil) {
return NO;
}

if (experiment.experimentName != nil && ![self.experimentName isEqualToString:experiment.experimentName]) {
return NO;
}
Expand All @@ -116,7 +116,7 @@ - (BOOL)isEqualExperiment:(GrowingABTExperiment *)experiment {
if (experiment.strategyId == nil && self.strategyId != nil) {
return NO;
}

if (experiment.strategyName != nil && ![self.strategyName isEqualToString:experiment.strategyName]) {
return NO;
}
Expand All @@ -137,7 +137,8 @@ - (BOOL)isEqualExperiment:(GrowingABTExperiment *)experiment {
}

- (NSUInteger)hash {
return self.layerId.hash ^ self.layerName.hash ^ self.experimentId.hash ^ self.experimentName.hash ^ self.strategyId.hash ^ self.strategyName.hash ^ self.variables.hash;
return self.layerId.hash ^ self.layerName.hash ^ self.experimentId.hash ^ self.experimentName.hash ^
self.strategyId.hash ^ self.strategyName.hash ^ self.variables.hash;
}

- (id)toJSONObject {
Expand Down

0 comments on commit 44047f5

Please sign in to comment.