Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
In an offline review, templedf had a comment about the following code snippet.
static int toInt(XAttr.NameSpace namespace, String name) { long xattrStatusInt = 0; // <-- this can be combined with the line below xattrStatusInt = NAMESPACE.BITS .combine(namespace.ordinal(), xattrStatusInt); int nid = XAttrStorage.getNameSerialNumber(name); xattrStatusInt = NAME.BITS // <-- no line break necessary .combine(nid, xattrStatusInt); return (int) xattrStatusInt; }