]> source.dussan.org Git - jgit.git/commit
Create FetchRequest superclass with common elements 50/129750/6
authorIvan Frade <ifrade@google.com>
Mon, 15 Oct 2018 19:19:41 +0000 (12:19 -0700)
committerIvan Frade <ifrade@google.com>
Mon, 15 Oct 2018 23:37:22 +0000 (16:37 -0700)
commit1a0b48fecd6ec7654d58b5ca8695b9a346655f04
treee5567e5871a198088161d0ecb9dee58f34d90c3e
parent8460ab8e879e4f9fe55f9e3a3c412c7c5369b5f9
Create FetchRequest superclass with common elements

Some code apply to both, v1 and v2 requests, so it should receive
just a request instance.

Move all common fields to an abstract superclass that can be passed
to "version neutral" functions.

Change-Id: I47c22fb12065bc93767f78175e2b36cc43ccb5c5
Signed-off-by: Ivan Frade <ifrade@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchRequest.java [new file with mode: 0644]
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchV0Request.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/FetchV2Request.java