Fix a test compilation error in Atmos caused by 755d51ad27

This commit is contained in:
Andrew Phillips 2012-05-02 08:04:40 -07:00
parent 33503970bb
commit 42d57c5d15
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ public class StubAtmosAsyncClient implements AtmosAsyncClient {
public ListenableFuture<Void> deletePath(String path) { public ListenableFuture<Void> deletePath(String path) {
if (path.indexOf('/') == path.length() - 1) { if (path.indexOf('/') == path.length() - 1) {
// chop off the trailing slash // chop off the trailing slash
return Futures.compose(blobStore.deleteContainerImpl(path.substring(0, path.length() - 1)), return Futures.compose(blobStore.deleteContainerIfEmpty(path.substring(0, path.length() - 1)),
new Function<Boolean, Void>() { new Function<Boolean, Void>() {
public Void apply(Boolean from) { public Void apply(Boolean from) {