Skip to content

Commit d78c171

Browse files
committed
throws
1 parent e2e2d32 commit d78c171

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/apache/maven/plugins/javadoc/JavadocUtil.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ protected static JavaVersion getJavadocVersion(File javadocExe)
537537
* @throws NullPointerException if the output is null
538538
* @throws IllegalArgumentException if the output is empty
539539
*/
540-
protected static String extractJavadocVersion(String output) throws IllegalArgumentException {
540+
protected static String extractJavadocVersion(String output) {
541541
if (output == null) {
542542
throw new NullPointerException("The output cannot be null.");
543543
}
@@ -602,7 +602,7 @@ protected static String extractJavadocVersion(String output) throws IllegalArgum
602602
* @throws NullPointerException if the <code>memory</code> argument is null
603603
* @throws IllegalArgumentException if the <code>memory</code> argument doesn't match any pattern.
604604
*/
605-
protected static String parseJavadocMemory(String memory) throws IllegalArgumentException {
605+
protected static String parseJavadocMemory(String memory) {
606606
if (memory == null) {
607607
throw new NullPointerException("The memory cannot be null.");
608608
}

0 commit comments

Comments
 (0)