fix grammar error in sentence from contains to contain

This commit is contained in:
jixinchi 2024-04-08 10:10:57 +08:00 committed by Andrew Gaul
parent b0819e0ef5
commit 03aeccffdf
1 changed files with 1 additions and 1 deletions

View File

@ -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 ../");
}
}