From: Hector Caballero Date: Tue, 30 Jan 2018 02:25:06 +0000 (-0500) Subject: GC: Remove redundant type arguments X-Git-Tag: v4.11.0.201803080745-r~125 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=049417d5044636f2d8dc5864deb5de92566fcd7a;p=jgit.git GC: Remove redundant type arguments Signed-off-by: Hector Oswaldo Caballero Change-Id: Id3281a744b08f9d7b2b60f69b4e461b053ac5d02 --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java index dce95e1fbd..fd906c9192 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java @@ -313,7 +313,7 @@ public class GC { packRefs(); // TODO: implement reflog_expire(pm, repo); Collection newPacks = repack(); - prune(Collections. emptySet()); + prune(Collections.emptySet()); // TODO: implement rerere_gc(pm); return newPacks; } @@ -999,7 +999,7 @@ public class GC { List rlEntries = reflogReader .getReverseEntries(); if (rlEntries == null || rlEntries.isEmpty()) - return Collections. emptySet(); + return Collections.emptySet(); Set ret = new HashSet<>(); for (ReflogEntry e : rlEntries) { if (e.getWho().getWhen().getTime() < minTime)