Skip to content

Commit

Permalink
removes unneccesary check. Null is returned regardless
Browse files Browse the repository at this point in the history
  • Loading branch information
Jtang-1 committed Jan 23, 2024
1 parent 8b600f5 commit e943ab5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/commcare/formplayer/objects/QueryData.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ public String getInitiatedBy(String key) {
Map<String, Object> value = (Map<String, Object>) this.get(key);
if (value != null) {
String initiatedBy = (String) value.get(INITIATED_BY);
if (initiatedBy != null) {
return initiatedBy;
}
}
return null;
}
Expand Down

0 comments on commit e943ab5

Please sign in to comment.