Style: Apply Spotless

This commit is contained in:
Lars Simon Winzer
2026-04-02 15:02:58 +02:00
parent de11d673dc
commit 93dba00a4d
2 changed files with 3 additions and 2 deletions
@@ -14,7 +14,8 @@ public class CheckUsernameParser implements CommandParser<CheckUsernameRequest>
*/ */
@Override @Override
public CheckUsernameRequest parse(PrimitiveRequest primitiveRequest) { public CheckUsernameRequest parse(PrimitiveRequest primitiveRequest) {
RequestParameterAccessor accessor = new RequestParameterAccessor(primitiveRequest.parameters()); RequestParameterAccessor accessor =
new RequestParameterAccessor(primitiveRequest.parameters());
return new CheckUsernameRequest(primitiveRequest.context(), accessor.require("USERNAME")); return new CheckUsernameRequest(primitiveRequest.context(), accessor.require("USERNAME"));
} }
} }
@@ -9,7 +9,7 @@ public class CheckUsernameRequest extends Request {
/** /**
* Constructs a new CheckUsernameRequest with the given context and username to check * Constructs a new CheckUsernameRequest with the given context and username to check
* *
* @param context the {@link RequestContext} containing information for responding to the * @param context the {@link RequestContext} containing information for responding to the
* request * request
* @param username the username to check for availability * @param username the username to check for availability