blob: e9a9707eb0c196624439e0fe389650ec93406f6b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package com.juick.server.xmpp;
import org.springframework.core.convert.converter.Converter;
import org.springframework.lang.Nullable;
import rocks.xmpp.addr.Jid;
public class JidConverter implements Converter<String, Jid> {
@Nullable
@Override
public Jid convert(String jidStr) {
return Jid.of(jidStr);
}
}
|