diff --git a/src/main/java/com/redhat/persistence/YamlDal.java b/src/main/java/com/redhat/persistence/YamlDal.java index d40a3f0..4987e33 100644 --- a/src/main/java/com/redhat/persistence/YamlDal.java +++ b/src/main/java/com/redhat/persistence/YamlDal.java @@ -32,10 +32,10 @@ public Set getAcronymsByName(String name) { Set res = new HashSet<>(); for(String key : yamlDatabase.keySet()) { Map databaseSection = yamlDatabase.get(key); - if(databaseSection.containsKey(name.toUpperCase())) { + if(databaseSection.containsKey(name)) { Acronym a = new Acronym(name); Set e = new HashSet<>(); - e.add(new Explanation(databaseSection.get(name.toUpperCase()))); + e.add(new Explanation(databaseSection.get(name))); a.setExplanations(e); res.add(a); }