Violation | Line |
---|---|
Avoid importing anything from the package 'java.lang' | 4 |
Avoid calls to overridable methods during construction | 26 |
Avoid calls to overridable methods during construction | 27 |
Avoid reassigning parameters such as 'name' | 35 |
Avoid using if statements without curly braces | 37 |
Avoid reassigning parameters such as 'path' | 47 |
Avoid using if statements without curly braces | 49 |
Avoid using if statements without curly braces | 75 |
Avoid using if statements without curly braces | 76 |
Avoid using if statements without curly braces | 77 |
Avoid using if statements without curly braces | 78 |
Avoid using if statements without curly braces | 81 |
Avoid using if statements without curly braces | 87 |
Avoid using if statements without curly braces | 88 |
Avoid using if statements without curly braces | 89 |
Violation | Line |
---|---|
Avoid unused imports such as 'HashMap' | 3 |
Avoid unused imports such as 'Map' | 4 |
Avoid unused imports such as 'RenderRequest' | 8 |
Avoid unused imports such as 'RenderResponse' | 9 |
Avoid unused imports such as 'ModelAndView' | 13 |
Avoid using if statements without curly braces | 21 |
Violation | Line |
---|---|
Avoid unused imports such as 'HashMap' | 3 |
Avoid unused imports such as 'Map' | 4 |
No need to import a type that's in the same package | 18 |
Avoid using if statements without curly braces | 26 |
Violation | Line |
---|---|
Avoid using if statements without curly braces | 19 |
Violation | Line |
---|---|
Avoid reassigning parameters such as 'name' | 45 |
Avoid using if statements without curly braces | 47 |
Avoid using if statements without curly braces | 61 |
Avoid empty catch blocks | 68 |
Avoid empty catch blocks | 69 |
Avoid empty catch blocks | 70 |
Avoid reassigning parameters such as 'name' | 73 |
Avoid using if statements without curly braces | 75 |
Avoid empty catch blocks | 82 |
Avoid empty catch blocks | 83 |
Avoid empty catch blocks | 84 |
Avoid reassigning parameters such as 'addTo' | 91 |