Violation |
Line |
StringBuffer constructor is initialized with size 16, but has at least 45 characters appended. |
75 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
92 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
136 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
170 |
StringBuffer constructor is initialized with size 16, but has at least 52 characters appended. |
180 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
181 |
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. |
181 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
197 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
198 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
199 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
200 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
202 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
203 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
204 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
205 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
206 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
207 |
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. |
208 |