Small changes according to comments on the pullrequest
This commit is contained in:
@ -25,7 +25,7 @@ public class ConfigurationReader {
|
||||
try {
|
||||
String jsonData = Files.readString(path, StandardCharsets.UTF_8);
|
||||
ObjectMapper objectMapper = new ObjectMapper();
|
||||
Supplier sup = (Supplier)objectMapper.readValue(jsonData, Supplier.class);
|
||||
Supplier sup = objectMapper.readValue(jsonData, Supplier.class);
|
||||
System.out.println("Loaded " + sup.id);
|
||||
return sup;
|
||||
} catch (IOException e) {
|
||||
|
Reference in New Issue
Block a user