Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Dec 6, 2016
1 parent 6c992a0 commit cb378c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jenkins/scm/api/SCMFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected SCMFile() {
*/
protected SCMFile(@NonNull SCMFile parent, String name) {
if (name.indexOf('/') != -1) {
throw new IllegalArgumentException("Name cannot contain '/");
throw new IllegalArgumentException("Name cannot contain '/'");
}
this.parent = parent;
this.name = name;
Expand Down

0 comments on commit cb378c3

Please sign in to comment.