Skip to content

Commit

Permalink
Remove redundant method call
Browse files Browse the repository at this point in the history
  • Loading branch information
chashikajw committed May 27, 2024
1 parent 0c1943d commit 9d54bb8
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,11 @@ public String getEndUserIP() {
@Override
public Map<String, Object> getProperties() {
AnalyticsCustomDataProvider customDataProvider = AnalyticsFilter.getAnalyticsCustomDataProvider();
if (customDataProvider != null && customDataProvider.getCustomProperties(customProperties) != null) {
return customDataProvider.getCustomProperties(customProperties);
if (customDataProvider != null) {
Map<String, Object> customPropertyMap = customDataProvider.getCustomProperties(customProperties);
if (customPropertyMap != null) {
return customPropertyMap;
}
}
return this.customProperties;
}
Expand Down

0 comments on commit 9d54bb8

Please sign in to comment.