Browse Source

GC: Update TODO comments

The TODO comments say "in 5.0", but 5.0 was already released without
resolving them. Remove "in 5.0" on the assumption that the mentioned
improvements still need to be done at some point.

Change-Id: I3eb429803e2266de3fc490e1f3912991c08aa1ad
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.5
David Pursehouse 6 years ago
parent
commit
9c97a586bf
  1. 4
      org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java

4
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java

@ -243,7 +243,7 @@ public class GC {
* If the configuration parameter "gc.pruneexpire" couldn't be * If the configuration parameter "gc.pruneexpire" couldn't be
* parsed * parsed
*/ */
// TODO(ms): in 5.0 change signature and return Future<Collection<PackFile>> // TODO(ms): change signature and return Future<Collection<PackFile>>
@SuppressWarnings("FutureReturnValueIgnored") @SuppressWarnings("FutureReturnValueIgnored")
public Collection<PackFile> gc() throws IOException, ParseException { public Collection<PackFile> gc() throws IOException, ParseException {
if (!background) { if (!background) {
@ -280,7 +280,7 @@ public class GC {
} }
return Collections.emptyList(); return Collections.emptyList();
}; };
// TODO(ms): in 5.0 change signature and return the Future // TODO(ms): change signature and return the Future
executor().submit(gcTask); executor().submit(gcTask);
return Collections.emptyList(); return Collections.emptyList();
} }

Loading…
Cancel
Save