From 049417d5044636f2d8dc5864deb5de92566fcd7a Mon Sep 17 00:00:00 2001 From: Hector Caballero Date: Mon, 29 Jan 2018 21:25:06 -0500 Subject: [PATCH] GC: Remove redundant type arguments Signed-off-by: Hector Oswaldo Caballero Change-Id: Id3281a744b08f9d7b2b60f69b4e461b053ac5d02 --- .../src/org/eclipse/jgit/internal/storage/file/GC.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5