mirror of https://github.com/apache/jclouds.git
fix grammar error in sentence from contains to contain
This commit is contained in:
parent
b0819e0ef5
commit
03aeccffdf
|
@ -39,7 +39,7 @@ public class FilesystemBlobKeyValidatorImpl extends FilesystemBlobKeyValidator {
|
|||
if (name.startsWith("\\") || name.startsWith("/"))
|
||||
throw new IllegalArgumentException("Blob key '" + name + "' cannot start with \\ or /");
|
||||
if (name.contains("../"))
|
||||
throw new IllegalArgumentException("Blob key '" + name + "' cannot contains ../");
|
||||
throw new IllegalArgumentException("Blob key '" + name + "' cannot contain ../");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue