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>
This commit is contained in:
parent
e5217400de
commit
9c97a586bf
|
@ -243,7 +243,7 @@ public GC(FileRepository repo) {
|
|||
* 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 Collection<PackFile> gc() throws IOException, ParseException {
|
|||
}
|
||||
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…
Reference in New Issue