Remove use of thread-local output
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / cluster / datastore / modification / DeleteModification.java
index 0a76cf9e5b6644f8cf75dde97ce01ec1d1196731..c1cd61dea0a66fbe94835cfbe7312ad30bbed4f9 100644 (file)
@@ -62,8 +62,8 @@ public class DeleteModification extends AbstractModification {
     }
 
     @Override
-    public void writeExternal(final ObjectOutput out) {
-        SerializationUtils.serializePath(getPath(), out);
+    public void writeExternal(final ObjectOutput out) throws IOException {
+        SerializationUtils.writePath(out, getPath());
     }
 
     @Override