aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/util/xmpp/JidConverter.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/util/xmpp/JidConverter.java')
-rw-r--r--src/main/java/com/juick/util/xmpp/JidConverter.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/juick/util/xmpp/JidConverter.java b/src/main/java/com/juick/util/xmpp/JidConverter.java
index f2add967..4f457164 100644
--- a/src/main/java/com/juick/util/xmpp/JidConverter.java
+++ b/src/main/java/com/juick/util/xmpp/JidConverter.java
@@ -21,12 +21,10 @@ import org.springframework.core.convert.converter.Converter;
import org.springframework.lang.Nullable;
import rocks.xmpp.addr.Jid;
-import javax.annotation.Nonnull;
-
public class JidConverter implements Converter<String, Jid> {
@Nullable
@Override
- public Jid convert(@Nonnull String jidStr) {
+ public Jid convert(String jidStr) {
return Jid.of(jidStr);
}
}