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>
tags/v5.4.0.201906121030-r
David Pursehouse 5 years ago
parent
commit
9c97a586bf

+ 2
- 2
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java View File

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

Loading…
Cancel
Save