Style: Apply Spotless
This commit is contained in:
+2
-1
@@ -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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user