Github user jessehatfield commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/254#discussion_r159949935
--- 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 --
Removed this method anyway, turned out to be unnecessary. (I had some
incorrect way of converting a Document to a DBObject; if done properly, the
existing methods are sufficient.)
---