Browse Source

UploadPackTest: Add missing <> operator on instantiation of ArrayList

Change-Id: I348cbcd75252d7857ada843dc496d445ee1d62fb
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.5
David Pursehouse 6 years ago
parent
commit
cd1d2d6fe3
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java

2
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java

@ -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) {

Loading…
Cancel
Save