diff --git a/src/main/java/org/myrobotlab/framework/Service.java b/src/main/java/org/myrobotlab/framework/Service.java index cc6992d87e..8d4dcc7ab8 100644 --- a/src/main/java/org/myrobotlab/framework/Service.java +++ b/src/main/java/org/myrobotlab/framework/Service.java @@ -1408,9 +1408,8 @@ public T getConfig() { return config; } - public
P getPeerConfig(String peerKey) {
- return getPeerConfig(peerKey, new StaticType<>() {
- });
+ public ServiceConfig getPeerConfig(String peerKey) {
+ return getPeerConfig(peerKey, new StaticType P getPeerConfig(String peerKey, StaticType t
}
public void setPeerConfigValue(String peerKey, String fieldname, Object value) throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException {
- ServiceConfig sc = getPeerConfig(peerKey, new StaticType<>() {});
+ ServiceConfig sc = getPeerConfig(peerKey, new StaticType