]> source.dussan.org Git - jgit.git/commit
ReceivePack: simplify getPushOptions 56/79956/2
authorShawn Pearce <spearce@spearce.org>
Mon, 29 Aug 2016 19:12:23 +0000 (12:12 -0700)
committerShawn Pearce <spearce@spearce.org>
Mon, 29 Aug 2016 19:31:22 +0000 (12:31 -0700)
commit2fd4559773cecc803dc0c27a5cc801dc6575981f
treeb3105c0ab0de5f4494d25e415914ee11c0801073
parent8e00a317b25a4b34890a6327554c929310009b8b
ReceivePack: simplify getPushOptions

Checking if the instance allows push options before returning the
collection or null is a bit overkill. Just return the collection
or return null.

Change-Id: Icdc3755194373966e5819284aeb9bfe8dd34de82
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java