Github user kchilton2 commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/254#discussion_r159307607
--- Diff:
dao/mongodb.rya/src/main/java/org/apache/rya/mongodb/document/util/DocumentVisibilityUtil.java
---
@@ -328,4 +328,22 @@ public static boolean doesUserHaveDocumentAccess(final
Authorizations authorizat
}
return list.toArray(new Object[0]);
}
+
+ /**
+ * Converts a {@link List} into an array of {@link Object}s.
--- End diff --
It might be worth mentioning that it flattens lists that are found within
inputList into the returned array. What does this do to other data structures
though? You'll leave a Set or Map as such in the array? Are other collections
just allowed to be in the returned array?
---