diff --git a/src/main/java/voruti/json2config/model/json/JsonChannelLink.java b/src/main/java/voruti/json2config/model/json/JsonChannelLink.java index 6649475..96755ce 100644 --- a/src/main/java/voruti/json2config/model/json/JsonChannelLink.java +++ b/src/main/java/voruti/json2config/model/json/JsonChannelLink.java @@ -1,13 +1,12 @@ package voruti.json2config.model.json; import lombok.Getter; -import lombok.ToString; import voruti.json2config.model.IConvertible; import java.util.List; +@SuppressWarnings("unused") @Getter -@ToString public class JsonChannelLink implements IConvertible { private Value value; @@ -20,23 +19,20 @@ public String toConfigLine(String lineBefore) { @Getter - @ToString public static class Value { private ChannelUID channelUID; private Configuration configuration; private String itemName; - @ToString private static class ChannelUID { private List segments; } - @ToString private static class Configuration { private Properties properties; - @ToString + private static class Properties { private String offset; private String profile; diff --git a/src/main/java/voruti/json2config/model/json/JsonItem.java b/src/main/java/voruti/json2config/model/json/JsonItem.java index 4b3e1f7..6f137fa 100644 --- a/src/main/java/voruti/json2config/model/json/JsonItem.java +++ b/src/main/java/voruti/json2config/model/json/JsonItem.java @@ -1,13 +1,11 @@ package voruti.json2config.model.json; -import lombok.ToString; import voruti.json2config.model.IConvertible; import java.util.List; import java.util.Set; import java.util.StringJoiner; -@ToString public class JsonItem implements IConvertible { private Value value; @@ -60,7 +58,6 @@ public String toConfigLine(String name) { } - @ToString private static class Value { private String baseItemType; private List groupNames;