|
|
|
|
@ -17,6 +17,8 @@ public class UriConverter implements AttributeConverter<URI, String>
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public URI convertToEntityAttribute(String s) { |
|
|
|
|
return ((s.length() > 0) ? URI.create(s.trim()) : null); |
|
|
|
|
if(s != null) |
|
|
|
|
return ((s.length() > 0) ? URI.create(s.trim()) : null); |
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|