Showing 130 of 140 total issues
Distance between variable 'enabled' 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
Checkbox enabled = new Checkbox("Enabled");
- 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 'campaignLink' 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
TextField campaignLink = new TextField("Campaign Link");
- 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 'userID' 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
long userID = userTools.getCurrentUsersID();
- 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 'logo' declaration and its first usage is 11, 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
Image logo = new Image(resolvedImage, "logo");
- 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 'UserId' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
Optional<User> findById(@NotNull Long UserId);
- 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 'UserId' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
void deleteById(@NotNull Long UserId);
- 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
public static final ReactionEmoji.Unicode B = ReactionEmoji.unicode("\uD83C\uDDE7");
- 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.
Unicode escape(s) usage should be avoided. Open
public static final ReactionEmoji.Unicode D = ReactionEmoji.unicode("\uD83C\uDDE9");
- 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.
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.
Parameter name 'Clip' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
@NotNull <S extends Clip> S save(@NotNull S Clip);
- 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 'Joke' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
@NotNull <S extends Joke> S save(@NotNull S Joke);
- 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 'StreamerId' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. Open
void deleteById(@NotNull Integer StreamerId);
- 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
String url = "https://id.twitch.tv/oauth2/token?" +
- 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.
Method name 'ButtonEvent' 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 names conform to a specified pattern.
Also, checks if a method name has the same name as the residing class.The default is false (it is not allowed). It is legal in Java to havemethod with the same name as a class. As long as a return type is specifiedit is a method and not a constructor which it could be easily confused as.Does not check-style the name of an overridden methods because the developerdoes not have a choice in renaming such methods.
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.
'+' 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 'appId' declaration and its first usage is 8, 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
TextField appId = new TextField("App ID");
- 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.
Unicode escape(s) usage should be avoided. Open
Arrays.fill(display, "\u2753");
- 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.
'+' should be on a new line. Open
return "." +
- 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 'channels' 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
MultiSelectComboBox<String> channels = new MultiSelectComboBox<>("Twitch Channels");
- 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.