Skip to content

Commit 5db35a0

Browse files
committed
core: stateid4: Bring back xdrDecode
As per reviewer comment, this may still be used somewhere. Signed-off-by: Christian Kohlschütter <[email protected]>
1 parent 6d67cd2 commit 5db35a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/src/main/java/org/dcache/nfs/v4/xdr/stateid4.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ public void xdrEncode(XdrEncodingStream xdr)
9191

9292
public void xdrDecode(XdrDecodingStream xdr)
9393
throws OncRpcException, IOException {
94-
throw new UnsupportedOperationException("Use constructor");
94+
seqid = xdr.xdrDecodeInt();
95+
opaque = Opaque.forBytes(xdr.xdrDecodeOpaque(12));
9596
}
9697

9798
@Override

0 commit comments

Comments
 (0)