blob: e9a9707eb0c196624439e0fe389650ec93406f6b (
plain) (
tree)
|
|
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);
}
}
|