PMD Results
The following document contains the results of PMD 5.2.1.
Files
org/synchronoss/cpo/jdbc/ClassJdbcDataSourceInfo.java
Violation |
Line |
Useless parentheses. |
92 |
Avoid empty catch blocks |
151–152 |
Avoid empty catch blocks |
158–159 |
org/synchronoss/cpo/jdbc/DriverJdbcDataSourceInfo.java
Violation |
Line |
Useless parentheses. |
127 |
org/synchronoss/cpo/jdbc/JdbcCallableStatementFactory.java
Violation |
Line |
Avoid unused constructor parameters such as 'jca'. |
69 |
org/synchronoss/cpo/jdbc/JdbcCpoAdapter.java
Violation |
Line |
These nested if statements could be combined |
1056–1068 |
Useless parentheses. |
2362 |
Avoid unused local variables such as 'i'. |
2497 |
This usage of the Collection.toArray() method will throw a ClassCastException. |
2792 |
Avoid empty catch blocks |
2925–2927 |
org/synchronoss/cpo/jdbc/JdbcCpoAttribute.java
Violation |
Line |
Avoid unused private fields such as 'logger'. |
38 |
Avoid unused private fields such as 'transformPSOutMethod'. |
47 |
Avoid unused private fields such as 'transformCSOutMethod'. |
48 |
org/synchronoss/cpo/jdbc/JdbcCpoTrxAdapter.java
Violation |
Line |
Useless parentheses. |
88 |
Useless parentheses. |
156 |
org/synchronoss/cpo/jdbc/JdbcPreparedStatementFactory.java
Violation |
Line |
Avoid unused private fields such as 'releasibles'. |
55 |
Avoid unused private fields such as 'WHERE_MARKER'. |
56 |
Avoid unused private fields such as 'ORDERBY_MARKER'. |
57 |
Avoid unused constructor parameters such as 'jca'. |
78 |
org/synchronoss/cpo/jdbc/meta/JdbcMethodMapEntry.java
Violation |
Line |
Avoid unused private fields such as 'logger'. |
35 |
org/synchronoss/cpo/jdbc/meta/JdbcMethodMapper.java
Violation |
Line |
Unnecessary use of fully qualified name 'java.io.Serializable' due to existing import 'java.io.*' |
39 |
Unnecessary use of fully qualified name 'java.sql.Date' due to existing import 'java.sql.*' |
76 |
Unnecessary use of fully qualified name 'java.sql.Date' due to existing import 'java.sql.*' |
76 |
Unnecessary use of fully qualified name 'java.sql.Time' due to existing import 'java.sql.*' |
77 |
Unnecessary use of fully qualified name 'java.sql.Time' due to existing import 'java.sql.*' |
77 |
Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.*' |
78 |
Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.*' |
78 |
Unnecessary use of fully qualified name 'java.sql.Clob' due to existing import 'java.sql.*' |
79 |
Unnecessary use of fully qualified name 'java.sql.Clob' due to existing import 'java.sql.*' |
79 |
Unnecessary use of fully qualified name 'java.sql.Blob' due to existing import 'java.sql.*' |
80 |
Unnecessary use of fully qualified name 'java.sql.Blob' due to existing import 'java.sql.*' |
80 |
Unnecessary use of fully qualified name 'java.sql.Array' due to existing import 'java.sql.*' |
81 |
Unnecessary use of fully qualified name 'java.sql.Array' due to existing import 'java.sql.*' |
81 |
Unnecessary use of fully qualified name 'java.sql.Ref' due to existing import 'java.sql.*' |
82 |
Unnecessary use of fully qualified name 'java.sql.Ref' due to existing import 'java.sql.*' |
82 |
Avoid unused method parameters such as 'methodType'. |
122 |
org/synchronoss/cpo/transform/jdbc/JdbcCpoTransform.java
Violation |
Line |
Avoid modifiers which are implied by the context |
34 |
Avoid modifiers which are implied by the context |
36 |