From 985e6342b31b85e06d35bc85bf88661d1fc14dcf Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Thu, 23 Aug 2018 11:33:17 +0900 Subject: [PATCH] UploadPack: Remove redundant specification of type Change-Id: I257635ed3f9ce012e03a3c45ed666fb9195019e0 Signed-off-by: David Pursehouse --- org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 de7be6dec..04532fd90 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(); + shallowCommits = new ArrayList<>(); processShallow(shallowCommits, unshallowCommits, false); } if (!clientShallowCommits.isEmpty())