Minor name change to keep swap job / s3 decoupled

This commit is contained in:
Winston Li 2017-04-04 13:09:43 +01:00
parent 5dcc4128b4
commit 21b769170d

View file

@ -185,10 +185,10 @@ public class SwapJobImpl implements SwapJob {
@Override
public void restore(String projName) throws IOException {
try (LockGuard __ = lock.lockGuard(projName)) {
try (InputStream s3File = swapStore.openDownloadStream(projName)) {
try (InputStream zipped = swapStore.openDownloadStream(projName)) {
repoStore.unbzip2Project(
projName,
s3File
zipped
);
swapStore.remove(projName);
dbStore.setLastAccessedTime(