Skip to content

Commit

Permalink
throws
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Dec 5, 2024
1 parent e2e2d32 commit d78c171
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ protected static JavaVersion getJavadocVersion(File javadocExe)
* @throws NullPointerException if the output is null
* @throws IllegalArgumentException if the output is empty
*/
protected static String extractJavadocVersion(String output) throws IllegalArgumentException {
protected static String extractJavadocVersion(String output) {
if (output == null) {
throw new NullPointerException("The output cannot be null.");
}
Expand Down Expand Up @@ -602,7 +602,7 @@ protected static String extractJavadocVersion(String output) throws IllegalArgum
* @throws NullPointerException if the <code>memory</code> argument is null
* @throws IllegalArgumentException if the <code>memory</code> argument doesn't match any pattern.
*/
protected static String parseJavadocMemory(String memory) throws IllegalArgumentException {
protected static String parseJavadocMemory(String memory) {
if (memory == null) {
throw new NullPointerException("The memory cannot be null.");
}
Expand Down

0 comments on commit d78c171

Please sign in to comment.