aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/util/xmpp
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-22 09:02:24 +0300
committerGravatar Vitaly Takmazov2024-10-22 09:02:24 +0300
commitd3955228340a35dfa26b5e0daf6622208c3cf5eb (patch)
tree576fefea905c34c9783aec92f4bf1a1dcb8e088d /src/main/java/com/juick/util/xmpp
parentd2e3ee78415198b3d73b7907a8a2fdb4d2ce9194 (diff)
Unused code cleanup
Diffstat (limited to 'src/main/java/com/juick/util/xmpp')
-rw-r--r--src/main/java/com/juick/util/xmpp/JidConverter.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/util/xmpp/JidConverter.java b/src/main/java/com/juick/util/xmpp/JidConverter.java
index 4f457164..5c40d470 100644
--- a/src/main/java/com/juick/util/xmpp/JidConverter.java
+++ b/src/main/java/com/juick/util/xmpp/JidConverter.java
@@ -18,13 +18,14 @@
package com.juick.util.xmpp;
import org.springframework.core.convert.converter.Converter;
+import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
import rocks.xmpp.addr.Jid;
public class JidConverter implements Converter<String, Jid> {
@Nullable
@Override
- public Jid convert(String jidStr) {
+ public Jid convert(@NonNull String jidStr) {
return Jid.of(jidStr);
}
}