We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4715174 commit fda7574Copy full SHA for fda7574
server/src/test/java/com/objectcomputing/checkins/services/SettingsServicesImplReplacement.java
@@ -50,6 +50,13 @@ public Setting findByName(String name) {
50
return found;
51
}
52
53
+ @Override
54
+ public Setting systemFindByName(String name) {
55
+ Setting found = map.get(name);
56
+ if(found == null) throw new NotFoundException("Setting with name " + name + " not found.");
57
+ return found;
58
+ }
59
+
60
@Override
61
public List<Setting> findAllSettings() {
62
List<Setting> settings = Arrays.<Setting>stream((Setting[]) map.values().toArray()).toList();
0 commit comments