- public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
- setPath(SerializationUtils.deserializePath(in));
+ public void readExternal(final ObjectInput in) throws IOException {
+ setPath(SerializationUtils.readPath(in));
+ }
+
+ @Override
+ public void writeExternal(final ObjectOutput out) throws IOException {
+ SerializationUtils.writePath(out, getPath());