Skip to content

Commit

Permalink
Update BaseIndexingSettings.java
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Alette committed May 23, 2024
1 parent 9abf791 commit e8e131f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ public String translateValue(String mapName, String value) {
}

public boolean hasTranslation(String mapName, String value) {
if (value == null) {
return false;
}
HashMap<String, String> translationMap = translationMaps.get(mapName);
if (translationMap != null){
return translationMap.containsKey(value.toLowerCase());
Expand Down

0 comments on commit e8e131f

Please sign in to comment.