]> source.dussan.org Git - jgit.git/commitdiff
UploadPackTest: Add missing <> operator on instantiation of ArrayList 61/143061/1
authorDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 30 May 2019 11:17:24 +0000 (20:17 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Thu, 30 May 2019 11:17:24 +0000 (20:17 +0900)
Change-Id: I348cbcd75252d7857ada843dc496d445ee1d62fb
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java

index 9ffcbccc8f031a35cdafe813cddb78436dc18f54..85be4348a2dea74db644162aec51555e2ca279ea 100644 (file)
@@ -1557,7 +1557,7 @@ public class UploadPackTest {
                        long depth, ObjectId... wants) throws Exception {
                server.getConfig().setBoolean("uploadpack", null, "allowfilter", true);
 
-               List<String> input = new ArrayList();
+               List<String> input = new ArrayList<>();
                input.add("command=fetch\n");
                input.add(PacketLineIn.DELIM);
                for (ObjectId want : wants) {