List_R and List may return NULL. Specify that their return values are nullable in the method signature.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/b3a0f3ef Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/b3a0f3ef Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/b3a0f3ef Branch: refs/heads/master Commit: b3a0f3efa927ede9a6f7c8368916e9108feac293 Parents: b2a6e66 Author: Marvin Humphrey <[email protected]> Authored: Wed Oct 21 19:02:14 2015 -0700 Committer: Marvin Humphrey <[email protected]> Committed: Fri Oct 23 16:41:58 2015 -0700 ---------------------------------------------------------------------- core/Lucy/Store/Folder.cfh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/b3a0f3ef/core/Lucy/Store/Folder.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Store/Folder.cfh b/core/Lucy/Store/Folder.cfh index 49134ad..9f841cf 100644 --- a/core/Lucy/Store/Folder.cfh +++ b/core/Lucy/Store/Folder.cfh @@ -101,7 +101,7 @@ public abstract class Lucy::Store::Folder inherits Clownfish::Obj { * @param path A relative filepath optionally specifying a subdirectory. * @return an unsorted array of filenames. */ - incremented Vector* + incremented nullable Vector* List(Folder *self, String *path = NULL); /** Recursively list all files and directories in the Folder. @@ -109,7 +109,7 @@ public abstract class Lucy::Store::Folder inherits Clownfish::Obj { * @param path A relative filepath optionally specifying a subdirectory. * @return an unsorted array of relative filepaths. */ - incremented Vector* + incremented nullable Vector* List_R(Folder *self, String *path = NULL); /** Indicate whether an entity exists at `path`.
