]> source.dussan.org Git - jgit.git/commit
Fix AppServer build errors in Eclipse with <4.6 target platforms 51/77351/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 14 Jul 2016 20:59:14 +0000 (22:59 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 14 Jul 2016 20:59:14 +0000 (22:59 +0200)
commit9a4e8de467cdbe71ec995b43c7262fd68224ea7f
treed19cc979305e651b241b21409b2a160627249b53
parentffddf8d437b5b56706871fc53dbe4e5770f20ea3
Fix AppServer build errors in Eclipse with <4.6 target platforms

9aa3748 added dummy implementations for loadRoleInfo() and
loadUserInfo() to class MappedLoginService to fix compile errors in
Eclipse when using 4.6 target platform which brings Jetty 9.3 adding
these two methods. Unfortunately this causes errors when using non 4.6
target platform coming with an older Jetty version. Fix this by
extracting the anonymous subclass of MappedLoginService which allows to
suppress the unused private method errors in Eclipse.

Change-Id: I75baeea7ff4502ce9ef2b541b3c0555da5535d79
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/AppServer.java