You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2015/10/31 22:02:43 UTC

[06/20] lucy git commit: List_R and List may return NULL.

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/LUCY-282-test-index-go-pt1
Commit: b3a0f3efa927ede9a6f7c8368916e9108feac293
Parents: b2a6e66
Author: Marvin Humphrey <ma...@rectangular.com>
Authored: Wed Oct 21 19:02:14 2015 -0700
Committer: Marvin Humphrey <ma...@rectangular.com>
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`.