Skip to content

Commit

Permalink
Bump parent POM from 1.74 to 1.76 (#44)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jun 9, 2022
1 parent 6e6d725 commit 8ff13c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.jenkins-ci</groupId>
<artifactId>jenkins</artifactId>
<version>1.74</version>
<version>1.76</version>
<relativePath />
</parent>

Expand Down
6 changes: 3 additions & 3 deletions src/main/java/hudson/util/VersionNumber.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public int compareTo(Item item) {
return 0;

default:
throw new RuntimeException("invalid item: " + item.getClass());
throw new IllegalArgumentException("invalid item: " + item.getClass());
}
}

Expand Down Expand Up @@ -270,7 +270,7 @@ public int compareTo(Item item) {
return -1;

default:
throw new RuntimeException("invalid item: " + item.getClass());
throw new IllegalArgumentException("invalid item: " + item.getClass());
}
}

Expand Down Expand Up @@ -354,7 +354,7 @@ public int compareTo(Item item) {
return -1;

default:
throw new RuntimeException("invalid item: " + item.getClass());
throw new IllegalArgumentException("invalid item: " + item.getClass());
}
}

Expand Down

0 comments on commit 8ff13c1

Please sign in to comment.