mirror of https://github.com/apache/jclouds.git
parent
1ae735bb7d
commit
b7d59e3fe9
|
@ -254,7 +254,7 @@ public class FilesystemStorageStrategyImpl implements LocalStorageStrategy {
|
|||
public void clearContainer(String container, ListContainerOptions options) {
|
||||
filesystemContainerNameValidator.validate(container);
|
||||
// TODO: these require calling removeDirectoriesTreeOfBlobKey
|
||||
checkArgument(options.getDir() == null || options.getPrefix() == null, "cannot specify directory or prefix");
|
||||
checkArgument(options.getDir() == null && options.getPrefix() == null, "cannot specify directory or prefix");
|
||||
try {
|
||||
File containerFile = openFolder(container);
|
||||
File[] children = containerFile.listFiles();
|
||||
|
|
Loading…
Reference in New Issue