]> source.dussan.org Git - jgit.git/commitdiff
UploadPack: Remove redundant specification of type 89/127889/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 23 Aug 2018 02:33:17 +0000 (11:33 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 23 Aug 2018 02:33:17 +0000 (11:33 +0900)
Change-Id: I257635ed3f9ce012e03a3c45ed666fb9195019e0
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

index de7be6dec52dfcfc8f6677583c17cb64eb6851f0..04532fd90f14638473514463b76c1065c47fdcff 100644 (file)
@@ -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())