Style: Unnecessary spaces in JavaDoc parameter and return value labels

This commit is contained in:
Lars Simon Winzer
2026-03-14 13:44:58 +01:00
parent 573c5fd36d
commit 34c89b671e
2 changed files with 3 additions and 3 deletions
@@ -23,9 +23,9 @@ public class NetworkManager implements Runnable {
/**
* Creates a new NetworkManager with the given port, session manager, and event bus.
*
* @param port the port to listen on
* @param port the port to listen on
* @param sessionManager the session manager to use
* @param eventBus the event bus for events
* @param eventBus the event bus for events
*/
public NetworkManager(Integer port, SessionManager sessionManager, EventBus eventBus) {
this.port = port;
@@ -15,7 +15,7 @@ public class EventBus {
* Subscribes a handler to a specific event type.
*
* @param eventType the class of the event to subscribe to
* @param handler the consumer to handle the event
* @param handler the consumer to handle the event
*/
@SuppressWarnings("unchecked") // This cast is safe, because handlers only get passed the type they subscribed to
public <T extends Event> void subscribe(Class<T> eventType, Consumer<T> handler) {