Commit d2ed5a55 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

src: fix formatting of AttributeMap

re-format only
parent 1ec8725e
Pipeline #3337 passed with stage
in 1 minute and 18 seconds
......@@ -23,6 +23,7 @@ import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import org.dcache.nfs.status.InvalException;
import org.dcache.nfs.v4.xdr.bitmap4;
import org.dcache.nfs.v4.xdr.fattr4;
......@@ -63,6 +64,7 @@ public class AttributeMap {
/**
* Create new {@link AttributeMap} from give attributes {@link bitmap4}.
*
* @param attributes bitmap to process
* @throws OncRpcException
* @throws IOException
......@@ -73,6 +75,7 @@ public class AttributeMap {
/**
* Retrieve the {@link Optional} value for a given attribute.
*
* @param <T>
* @param attr to get
* @return present Optional if value is defined or absent if not.
......@@ -105,7 +108,7 @@ public class AttributeMap {
return attrs;
}
private static void xdr2fattr(Map<Integer,XdrAble> attrs, int fattr, XdrDecodingStream xdr) throws OncRpcException, IOException {
private static void xdr2fattr(Map<Integer, XdrAble> attrs, int fattr, XdrDecodingStream xdr) throws OncRpcException, IOException {
XdrAble attr;
switch (fattr) {
case nfs4_prot.FATTR4_SIZE:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment