Skip to content

Commit

Permalink
fix grammar error in sentence from contains to contain
Browse files Browse the repository at this point in the history
  • Loading branch information
jixinchi authored and gaul committed May 6, 2024
1 parent b0819e0 commit 03aeccf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void validate(String name) throws IllegalArgumentException {
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 ../");
}

}

0 comments on commit 03aeccf

Please sign in to comment.