summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2018-08-23 11:33:17 +0900
committerDavid Pursehouse <david.pursehouse@gmail.com>2018-08-23 11:33:17 +0900
commit985e6342b31b85e06d35bc85bf88661d1fc14dcf (patch)
tree040536b70589271e1bf306982fc5995544e7aefa
parente748abdf144a0f7ad92fa57e51708e68f3eabc42 (diff)
downloadjgit-985e6342b31b85e06d35bc85bf88661d1fc14dcf.tar.gz
jgit-985e6342b31b85e06d35bc85bf88661d1fc14dcf.zip
UploadPack: Remove redundant specification of type
Change-Id: I257635ed3f9ce012e03a3c45ed666fb9195019e0 Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
index de7be6dec5..04532fd90f 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
@@ -1072,7 +1072,7 @@ public class UploadPack {
verifyClientShallow();
}
if (depth != 0 || shallowSince != 0 || shallowExcludeRefs != null) {
- shallowCommits = new ArrayList<ObjectId>();
+ shallowCommits = new ArrayList<>();
processShallow(shallowCommits, unshallowCommits, false);
}
if (!clientShallowCommits.isEmpty())