Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBSybase.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 119 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBInformix.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 105 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBSapDB.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 112 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBInterbase.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 117 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBFirebird.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 117 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBOracle.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 136 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBDerby.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 106 | Low |
Violation | Line | Priority |
---|---|---|
SQL: Method org.apache.torque.adapter.DBMM.lockTable(java.sql.Connection,String) passes a nonconstant String to an execute method on an SQL statement | 117 | Low |
Violation | Line | Priority |
---|---|---|
HE: org.apache.torque.om.ObjectKey defines hashCode and uses Object.equals() | -1 | Low |
Violation | Line | Priority |
---|---|---|
HE: org.apache.torque.om.DateKey defines equals but not hashCode | 132 | Low |
Violation | Line | Priority |
---|---|---|
HE: org.apache.torque.om.StringKey defines equals but not hashCode | 119 | Low |
Violation | Line | Priority |
---|---|---|
DLS: Dead store to byteArray in method org.apache.torque.util.VillageUtils.hashtableToByteArray(java.util.Hashtable) | 138 | Low |
Violation | Line | Priority |
---|---|---|
Dm: Method org.apache.torque.util.SummaryHelper.buildCriteria(Criteria) invokes toString() method on a String; just use the String | 235 | Normal |
Violation | Line | Priority |
---|---|---|
ITA: Method org.apache.torque.util.Criteria$Criterion.appendPsTo(StringBuffer,java.util.List) uses Collection.toArray() with zero-length array argument | 3502 | Low |
Violation | Line | Priority |
---|---|---|
MS: org.apache.torque.oid.IDGeneratorFactory.ID_GENERATOR_METHODS is a mutable array | 48 | High |
Violation | Line | Priority |
---|---|---|
Nm: Confusing to have methods org.apache.torque.util.functions.AbstractFunction.setDBName(String) and org.apache.torque.util.Criteria.setDbName(String) | 158 | Low |
Violation | Line | Priority |
---|---|---|
IS: Inconsistent synchronization of org.apache.torque.manager.AbstractBaseManager.isNew; locked 66% of time | 494 | Normal |