Fix Javadoc warnings due to Java 21 update (+ some other warnings)
The default implicit constructor must also have a doc comment, so I have to make it explicit and either properly restrict the visibility of the constructor, or actually document it.
This commit is contained in:
@@ -100,4 +100,6 @@ public class PayloadRegistry {
|
||||
registerPayloadType("login-succeed", LoginSucceedPayload.class);
|
||||
}
|
||||
|
||||
private PayloadRegistry() {}
|
||||
|
||||
}
|
||||
|
@@ -4,4 +4,9 @@ package fr.pandacube.lib.ws.payloads;
|
||||
* Payload used by the server in inform the client the login was successful.
|
||||
*/
|
||||
public class LoginSucceedPayload extends Payload {
|
||||
|
||||
/**
|
||||
* Creates a new {@link LoginSucceedPayload}.
|
||||
*/
|
||||
public LoginSucceedPayload() {}
|
||||
}
|
||||
|
@@ -5,4 +5,8 @@ package fr.pandacube.lib.ws.payloads;
|
||||
*/
|
||||
public abstract class Payload {
|
||||
|
||||
/**
|
||||
* Creates a new {@link Payload}.
|
||||
*/
|
||||
public Payload() {}
|
||||
}
|
Reference in New Issue
Block a user