DATAREST-1341 - Upgrade to Spring HATEOAS 1.0.
This commit is contained in:
committed by
Oliver Drotbohm
parent
a05d6a2a90
commit
af6f55a92c
@@ -46,7 +46,7 @@ public class Java8PluginRegistry<T extends Plugin<S>, S> {
|
||||
}
|
||||
|
||||
public Optional<T> getPluginFor(S delimiter) {
|
||||
return Optional.ofNullable(registry.getPluginFor(delimiter));
|
||||
return registry.getPluginFor(delimiter);
|
||||
}
|
||||
|
||||
public T getPluginOrDefaultFor(S delimiter, T fallback) {
|
||||
|
||||
Reference in New Issue
Block a user