You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.ntfy/src/main/java/org/openhab/binding/ntfy/internal/NtfyBindingConstants.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,5 +33,5 @@ public class NtfyBindingConstants {
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.ntfy/src/main/java/org/openhab/binding/ntfy/internal/NtfyConnectionHandler.java
+47-2Lines changed: 47 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -129,10 +129,24 @@ public synchronized boolean startWebSocketConnection(Thing topicThing, NtfyWebSo
Copy file name to clipboardExpand all lines: bundles/org.openhab.binding.ntfy/src/main/java/org/openhab/binding/ntfy/internal/network/GsonDeserializer.java
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@
20
20
21
21
importcom.google.gson.Gson;
22
22
importcom.google.gson.GsonBuilder;
23
+
importcom.google.gson.JsonSyntaxException;
23
24
24
25
/**
25
26
* Helper wrapper around Gson used to deserialize incoming ntfy JSON messages
@@ -39,7 +40,7 @@ public class GsonDeserializer {
39
40
* @param message the raw JSON message
40
41
* @return the deserialized {@link BaseEvent} or {@code null} when parsing failed
0 commit comments