]> source.dussan.org Git - jgit.git/commit
File compile and API errors in JGit 02/121602/3
authorMichael Keppler <Michael.Keppler@gmx.de>
Mon, 23 Apr 2018 20:00:27 +0000 (22:00 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 24 Apr 2018 22:46:01 +0000 (00:46 +0200)
commit32a8162bc310de648b500913f0e41dd2dbe267b2
treeab3583293426d1cb8a747602d3c2160be992b734
parentd3ef52133d27fdda4dea8df920c76c06ced0a80c
File compile and API errors in JGit

* Photon throws null analysis errors on the repeated invocation of those
previously null checked methods. Extract them to a local variable to
avoid this. (the null analysis is configured in project properties)
* setUseProtocolV2() misses @since tag. Problem was introduced with
332bc611249d21f9b604f2c0207bf0bdfbfc3a78. Might be caused by the long
delay of 2 months from creation to merging.

Change-Id: Ibbb1a1580b604b8e7cd4bf7edc4643e292b6b4a8
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java