diff options
author | Hector Caballero <hector.caballero@ericsson.com> | 2018-01-29 21:25:06 -0500 |
---|---|---|
committer | Hector Caballero <hector.caballero@ericsson.com> | 2018-02-06 06:25:17 -0500 |
commit | 049417d5044636f2d8dc5864deb5de92566fcd7a (patch) | |
tree | 115f409ca5dec81e0c75bb5dd8b2ee75bb37e652 /org.eclipse.jgit/src/org | |
parent | e3b73d889cfb9ffa201e582207e7c2cf7531460b (diff) | |
download | jgit-049417d5044636f2d8dc5864deb5de92566fcd7a.tar.gz jgit-049417d5044636f2d8dc5864deb5de92566fcd7a.zip |
GC: Remove redundant type arguments
Signed-off-by: Hector Oswaldo Caballero <hector.caballero@ericsson.com>
Change-Id: Id3281a744b08f9d7b2b60f69b4e461b053ac5d02
Diffstat (limited to 'org.eclipse.jgit/src/org')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java | 4 |
1 files 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<PackFile> newPacks = repack(); - prune(Collections.<ObjectId> emptySet()); + prune(Collections.emptySet()); // TODO: implement rerere_gc(pm); return newPacks; } @@ -999,7 +999,7 @@ public class GC { List<ReflogEntry> rlEntries = reflogReader .getReverseEntries(); if (rlEntries == null || rlEntries.isEmpty()) - return Collections.<ObjectId> emptySet(); + return Collections.emptySet(); Set<ObjectId> ret = new HashSet<>(); for (ReflogEntry e : rlEntries) { if (e.getWho().getWhen().getTime() < minTime) |