The following document contains the results of PMD 3.9.
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'doVersions'. | 66 - 150 |
Avoid unused local variables such as 'doVersions'. | 72 |
These nested if statements could be combined | 80 - 86 |
Avoid unused local variables such as 'xmlId'. | 127 |
Avoid empty if statements | 129 - 131 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Collection' | 18 |
Violation | Line |
---|---|
Avoid unused imports such as 'net.sf.imca.model.MembershipTypeBO' | 23 |
Violation | Line |
---|---|
Avoid unused imports such as 'net.sf.imca.model.AssociationBO' | 29 |
Avoid unused imports such as 'net.sf.imca.model.PersonBO' | 30 |
Avoid unused imports such as 'net.sf.imca.model.BoatBO' | 31 |
Avoid unused imports such as 'net.sf.imca.model.entities.AssociationEntity' | 32 |
Avoid unused private methods such as 'getNodeListForDataFile(String,String)'. | 109 |
Violation | Line |
---|---|
These nested if statements could be combined | 82 - 87 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 169 |
Avoid empty catch blocks | 171 - 173 |
Avoid empty catch blocks | 178 - 180 |
Avoid empty catch blocks | 185 - 187 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.persistence.EntityTransaction' | 20 |
Avoid empty catch blocks | 58 - 59 |
Avoid unused private fields such as 'emf'. | 100 |
Violation | Line |
---|---|
Avoid unused imports such as 'net.sf.imca.model.entities.AssociationEntity' | 7 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Locale' | 3 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.servlet.jsp.JspTagException' | 4 |
Avoid unused imports such as 'net.sf.imca.web.backingbeans.WebUser' | 11 |
Avoid unused private fields such as 'id'. | 21 |
Violation | Line |
---|---|
Avoid unused private fields such as 'model'. | 11 |
An empty statement (semicolon) not part of a loop | 43 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.HashMap' | 18 |
Avoid unused imports such as 'java.util.HashSet' | 19 |
Violation | Line |
---|---|
Avoid unused imports such as 'net.sf.imca.model.entities.MembershipEntity' | 31 |
Violation | Line |
---|---|
These nested if statements could be combined | 227 - 235 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.PrintWriter' | 19 |
Avoid unused imports such as 'java.lang.reflect.InvocationTargetException' | 20 |
Avoid unused imports such as 'java.lang.reflect.Method' | 21 |
Avoid unused imports such as 'java.util.ArrayList' | 22 |
Avoid unused imports such as 'java.util.Collection' | 23 |
Avoid unused imports such as 'java.util.Enumeration' | 24 |
Avoid unused imports such as 'java.util.Hashtable' | 25 |
Avoid unused imports such as 'java.util.Iterator' | 26 |
Avoid unused imports such as 'javax.servlet.jsp.JspException' | 32 |
Avoid unused imports such as 'net.sf.imca.services.ReflectionUtil' | 37 |
Avoid unused imports such as 'net.sf.imca.web.backingbeans.Utils' | 38 |
Avoid empty catch blocks | 96 - 98 |