DATAREST-1092 - Removed Spring 4.3 style handling of non-nullability in PatchOperations.

This commit is contained in:
Oliver Gierke
2017-06-14 15:32:40 +02:00
parent 37b0dc2dff
commit 51812ccc97

View File

@@ -105,8 +105,6 @@ public abstract class PatchOperation {
try {
expression.setValue(target, null);
return value;
} catch (NullPointerException o_O) {
throw new PatchException("Path '" + removePath + "' is not nullable.", o_O);
} catch (SpelEvaluationException o_O) {
throw new PatchException("Path '" + removePath + "' is not nullable.", o_O);
}