Showing 130 of 140 total issues
Distance between variable 'username' declaration and its first usage is 5, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). Open
String username = userTools.getCurrentUsersName();
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the distance between declaration of variable and its first usage.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Parameter name 'Group' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
void delete(@NotNull Group Group);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method parameter names conform to a specified pattern.By using accessModifiers
property it is possibleto specify different formats for methods at different visibility levels.
To validate catch
parameters please useCatchParameterName.
To validate lambda parameters please useLambdaParameterName.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
'+' should be on a new line. Open
Emoji.C.getRaw() + parseText(answers.get(2)) + "\n" +
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the policy on how to wrap lines on operators.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Parameter name 's' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
private int getInt(String s)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method parameter names conform to a specified pattern.By using accessModifiers
property it is possibleto specify different formats for methods at different visibility levels.
To validate catch
parameters please useCatchParameterName.
To validate lambda parameters please useLambdaParameterName.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Distance between variable 'punishmentForm' declaration and its first usage is 10, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). Open
PunishmentForm punishmentForm = new PunishmentForm();
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the distance between declaration of variable and its first usage.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Empty catch block. Open
{
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks for empty catch blocks.By default check allows empty catch block with any comment inside.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Distance between variable 'header' declaration and its first usage is 6, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). Open
H2 header = new H2("Counters");
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the distance between declaration of variable and its first usage.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Distance between variable 'discord' declaration and its first usage is 5, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). Open
Checkbox discord = new Checkbox("Enable on Discord");
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the distance between declaration of variable and its first usage.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Member name 'Questions' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
private List<Question> Questions;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that instance variable names conform to a specified pattern.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Member name 'cPunishment' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
private Punishment cPunishment = null;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that instance variable names conform to a specified pattern.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '31'. Open
private Mono<Void> play(String prefix, DiscordCommandEvent event)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that overloaded methods are grouped together. Overloaded methods have the samename but different signatures where the signature can differ by the number of inputparameters or type of input parameters or both.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
'+' should be on a new line. Open
File.separator +
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the policy on how to wrap lines on operators.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Distance between variable 'header' declaration and its first usage is 7, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). Open
H2 header = new H2(title);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the distance between declaration of variable and its first usage.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Distance between variable 'groupLayout' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). Open
HorizontalLayout groupLayout = new HorizontalLayout();
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks the distance between declaration of variable and its first usage.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Parameter name 'Counter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
@NotNull <S extends Counter> S save(@NotNull S Counter);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method parameter names conform to a specified pattern.By using accessModifiers
property it is possibleto specify different formats for methods at different visibility levels.
To validate catch
parameters please useCatchParameterName.
To validate lambda parameters please useLambdaParameterName.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Unicode escape(s) usage should be avoided. Open
private static final String[] emojis = {"\uD83C\uDF47", "\uD83C\uDF4A", "\uD83C\uDF52", "\uD83C\uDF53"};
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Restricts usingUnicode escapes (such as \u221e).It is possible to allow using escapes fornon-printable, control characters.Also, this check can be configured to allow using escapesif trail comment is present. By the option it is possible toallow using escapes if literal contains only them.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Parameter name 'i' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
private void update(Message message, EmbedCreateSpec embed, Outcome outcome, String[] display, int i)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method parameter names conform to a specified pattern.By using accessModifiers
property it is possibleto specify different formats for methods at different visibility levels.
To validate catch
parameters please useCatchParameterName.
To validate lambda parameters please useLambdaParameterName.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Unicode escape(s) usage should be avoided. Open
EmbedCreateFields.Field.of("Result", (outcome.win ? "\u2705" : "\u274c"), false)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Restricts usingUnicode escapes (such as \u221e).It is possible to allow using escapes fornon-printable, control characters.Also, this check can be configured to allow using escapesif trail comment is present. By the option it is possible toallow using escapes if literal contains only them.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Parameter name 'e' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
private Mono<Void> shoutOut(TwitchCommandEvent e)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method parameter names conform to a specified pattern.By using accessModifiers
property it is possibleto specify different formats for methods at different visibility levels.
To validate catch
parameters please useCatchParameterName.
To validate lambda parameters please useLambdaParameterName.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.
Parameter name 'f' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
private void ButtonEvent(Runnable f)
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method parameter names conform to a specified pattern.By using accessModifiers
property it is possibleto specify different formats for methods at different visibility levels.
To validate catch
parameters please useCatchParameterName.
To validate lambda parameters please useLambdaParameterName.
This documentation is written and maintained by the Checkstyle community and is covered under the same license as the Checkstyle project.