]> source.dussan.org Git - jgit.git/commit
Mark fetch requests fields as final and @NonNull when possible 57/130957/3
authorIvan Frade <ifrade@google.com>
Mon, 15 Oct 2018 23:49:13 +0000 (16:49 -0700)
committerIvan Frade <ifrade@google.com>
Tue, 16 Oct 2018 18:11:26 +0000 (11:11 -0700)
commitec838fee0c886b395d4fedf4ce77a49b653b4a61
tree204597fd2a07c9757e6390e1b6ec8633ce36668e
parent1a0b48fecd6ec7654d58b5ca8695b9a346655f04
Mark fetch requests fields as final and @NonNull when possible

Mark reference fields as final, annotate constructor parameters and
getters as @NonNull when appropiate and assert the incoming references
are non-null.

Change-Id: I0ef9a513a99313bf461fe9629ce6cc8b409bdedb
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchRequest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchV0Request.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchV2Request.java