Skip to content

Commit

Permalink
Fix javadoc errors
Browse files Browse the repository at this point in the history
```
[ERROR] .../src/main/java/org/codehaus/mojo/buildhelper/ParseVersionMojo.java:131: warning - Tag @see:illegal character: "47" in "https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax"
```

I believe we shall follow the *Form 2* of `@see` as described in javadoc
reference.
  • Loading branch information
pzygielo authored and stefanseifert committed Jul 14, 2020
1 parent 9e355c3 commit 888fa08
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,28 +118,28 @@ public class ParseVersionMojo
* This can be used to make a particular format of the major number possible like padding it with zeros etc.
*
* @since 3.0.0
* @see https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax">Formatter syntax</a>
*/
@Parameter( defaultValue = "%02d" )
private String formatMajor;

/**
* @since 3.0.0
* @see https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax">Formatter syntax</a>
*/
@Parameter( defaultValue = "%02d" )
private String formatMinor;

/**
* @since 3.0.0
* @see https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax">Formatter syntax</a>
*/
@Parameter( defaultValue = "%02d" )
private String formatIncremental;

/**
* @since 3.0.0
* @see https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax
* @see <a href="https://docs.oracle.com/javase/7/docs/api/java/util/Formatter.html#syntax">Formatter syntax</a>
*/
@Parameter( defaultValue = "%02d" )
private String formatBuildNumber;
Expand Down

0 comments on commit 888fa08

Please sign in to comment.