]> source.dussan.org Git - jgit.git/commitdiff
[infer] Mark ManifestParse.getFilteredProjects non-null 87/89387/2
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 23 Jan 2017 00:06:30 +0000 (01:06 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 23 Jan 2017 18:55:20 +0000 (19:55 +0100)
Change-Id: I05653df7a0337443d2c8e53f47f4e95ec9ca1a9c
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/gitrepo/ManifestParser.java

index 8a35d35fea5c9cc6f1b6e255a8b0ce21c8529290..55ded92a17f8a0dd1266edf46542882e0cf8cde7 100644 (file)
@@ -57,6 +57,7 @@ import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
+import org.eclipse.jgit.annotations.NonNull;
 import org.eclipse.jgit.api.errors.GitAPIException;
 import org.eclipse.jgit.gitrepo.RepoProject.CopyFile;
 import org.eclipse.jgit.gitrepo.internal.RepoText;
@@ -324,7 +325,7 @@ public class ManifestParser extends DefaultHandler {
         *
         * @return filtered projects list reference, never null
         */
-       public List<RepoProject> getFilteredProjects() {
+       public @NonNull List<RepoProject> getFilteredProjects() {
                return filteredProjects;
        }