Skip to content

Commit

Permalink
Use primitive to allow it to be resolved by @value in javadoc
Browse files Browse the repository at this point in the history
Currently following is reported:
```
[ERROR] Exit code: 1 - .../src/main/java/org/codehaus/mojo/buildhelper/ReserveListenerPortMojo.java:100: error: value does not refer to a constant
[ERROR]      * If {@link #maxPortNumber} is specified, defaults to {@value #FIRST_NON_ROOT_PORT_NUMBER}.
[ERROR]                                                            ^
```
  • Loading branch information
pzygielo committed Jul 8, 2020
1 parent 03eccfa commit 8253116
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -62,7 +62,7 @@ public class ReserveListenerPortMojo
{
private static final String BUILD_HELPER_RESERVED_PORTS = "BUILD_HELPER_MIN_PORT";

private static final Integer FIRST_NON_ROOT_PORT_NUMBER = 1024;
private static final int FIRST_NON_ROOT_PORT_NUMBER = 1024;

private static final Integer MAX_PORT_NUMBER = 65535;

Expand Down

0 comments on commit 8253116

Please sign in to comment.