You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are 6 occurrences of this issue.
Why is this an issue?
Since: PMD 5.0
Java allows the use of several variables declaration of the same type on one line. However, it can lead to quite messy code. This rule looks for several declarations on the same line.
Example(s):
Stringname; // separate declarationsStringlastname;
Stringname, lastname; // combined declaration, a violationStringname,
lastname; // combined declaration on multiple lines, no violation by default.// Set property strictMode to true to mark this as violation.
Hi @garvita-jain the link I provided wasn't that helpful. Three are 7 occurrences of this problem listed here. In each case the declarations simply need to be split into individual declarations, e.g.
There are 6 occurrences of this issue.
Why is this an issue?
Since: PMD 5.0
Java allows the use of several variables declaration of the same type on one line. However, it can lead to quite messy code. This rule looks for several declarations on the same line.
Example(s):
A full list of issues can be found here on Codacy
The text was updated successfully, but these errors were encountered: