Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Add GWT ignore annotation to Values helper

Rich Turner8267d5bab3b5
diff --git a/model/src/main/java/org/openremote/model/value/Values.java b/model/src/main/java/org/openremote/model/value/Values.java
index 20b8606dd..da3127554 100644
--- a/model/src/main/java/org/openremote/model/value/Values.java
+++ b/model/src/main/java/org/openremote/model/value/Values.java
@@ -337,6 +337,8 @@ public class Values {
return Optional.empty();
}
+ @JsIgnore
+ @GwtIncompatible
public static <T> Optional<T> convertFromValue(Value value, Class<T> clazz, ObjectMapper objectMapper) {
if (value == null || objectMapper == null) {
return Optional.empty();