Skip to content

Commit 8d108f0

Browse files
author
Gary Gregory
committed
More precise Javadoc.
1 parent 04ab528 commit 8d108f0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/main/java/org/apache/commons/io/UncheckedIOExceptions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ public class UncheckedIOExceptions {
3131
/**
3232
* Creates a new UncheckedIOException for the given detail message.
3333
* <p>
34-
* This method exists because there is no String constructor in UncheckedIOException.
34+
* This method exists because there is no String constructor in {@link UncheckedIOException}.
3535
* </p>
3636
*
3737
* @param message the detail message.
38-
* @return a new UncheckedIOException.
38+
* @return a new {@link UncheckedIOException}.
3939
*/
4040
public static UncheckedIOException create(final Object message) {
4141
final String string = Objects.toString(message);
@@ -45,12 +45,12 @@ public static UncheckedIOException create(final Object message) {
4545
/**
4646
* Creates a new UncheckedIOException for the given detail message.
4747
* <p>
48-
* This method exists because there is no String constructor in UncheckedIOException.
48+
* This method exists because there is no String constructor in {@link UncheckedIOException}.
4949
* </p>
5050
*
5151
* @param message the detail message.
5252
* @param e cause the {@code IOException}.
53-
* @return a new UncheckedIOException.
53+
* @return a new {@link UncheckedIOException}.
5454
*/
5555
public static UncheckedIOException create(final Object message, final IOException e) {
5656
return new UncheckedIOException(Objects.toString(message), e);

0 commit comments

Comments
 (0)