##### General Information

- Overview
- Features
- Specification
- Getting Started
- Howto Build Turbine
- Changes

##### Documentation

- Services
- Howtos
- Wiki
- JavaDocs

##### Development

- Proposals
- How To Help
- Todo

##### Project Documentation

- Project Information
- Project Reports
  - Changes Report
  - Cobertura Test Coverage
  - CPD Report
  - JavaDocs
  - JDepend
  - PMD Report
  - RAT Report
  - Source Xref
  - Surefire Report
  - Tag List
  - Test JavaDocs
  - Test Source Xref

##### Apache

- Apache Website
- License
- How the ASF works
- Sponsorship
- Thanks
- Security

## PMD Results

The following document contains the results of PMD 4.1.

## Files

### org/apache/turbine/Turbine.java

Violation | Line
--- | ---
These nested if statements could be combined | 443 - 446
Avoid empty catch blocks | 854 - 857
Avoid empty catch blocks | 864 - 867
Avoid empty catch blocks | 890 - 893

### org/apache/turbine/modules/ActionEvent.java

Violation | Line
--- | ---
These nested if statements could be combined | 234 - 238
These nested if statements could be combined | 298 - 302

### org/apache/turbine/modules/actions/sessionvalidator/DefaultSessionValidator.java

Violation | Line
--- | ---
These nested if statements could be combined | 126 - 135

### org/apache/turbine/modules/actions/sessionvalidator/TemplateSecureSessionValidator.java

Violation | Line
--- | ---
These nested if statements could be combined | 153 - 174

### org/apache/turbine/modules/actions/sessionvalidator/TemplateSessionValidator.java

Violation | Line
--- | ---
These nested if statements could be combined | 113 - 134

### org/apache/turbine/modules/pages/JspPage.java

Violation | Line
--- | ---
Avoid empty catch blocks | 54 - 58
Avoid empty catch blocks | 77 - 81

### org/apache/turbine/modules/screens/TemplateScreen.java

Violation | Line
--- | ---
Avoid empty catch blocks | 228 - 231

### org/apache/turbine/om/security/TurbineUser.java

Violation | Line
--- | ---
Avoid empty catch blocks | 274 - 277
Avoid empty catch blocks | 295 - 298

### org/apache/turbine/pipeline/CleanUpValve.java

Violation | Line
--- | ---
Avoid empty catch blocks | 91 - 95

### org/apache/turbine/pipeline/TurbinePipeline.java

Violation | Line
--- | ---
Avoid unused imports such as 'org.apache.turbine.util.RunData' | 26

### org/apache/turbine/services/jsp/TurbineJspService.java

Violation | Line
--- | ---
Avoid empty catch blocks | 203 - 206

### org/apache/turbine/services/jsp/util/JspNavigation.java

Violation | Line
--- | ---
Avoid empty catch blocks | 86 - 89

### org/apache/turbine/services/jsp/util/JspScreenPlaceholder.java

Violation | Line
--- | ---
Avoid empty catch blocks | 91 - 94

### org/apache/turbine/services/pull/TurbinePull.java

Violation | Line
--- | ---
Avoid empty catch blocks | 162 - 165

### org/apache/turbine/services/pull/TurbinePullService.java

Violation | Line
--- | ---
These nested if statements could be combined | 404 - 408
These nested if statements could be combined | 449 - 453

### org/apache/turbine/services/pull/tools/UITool.java

Violation | Line
--- | ---
Avoid unused imports such as 'org.apache.turbine.services.ui.UIService' | 28

### org/apache/turbine/services/security/BaseSecurityService.java

Violation | Line
--- | ---
Avoid unused imports such as 'javax.servlet.ServletConfig' | 26

### org/apache/turbine/services/security/ldap/LDAPUser.java

Violation | Line
--- | ---
Avoid empty try blocks | 105 - 107

### org/apache/turbine/services/security/ldap/LDAPUserManager.java

Violation | Line
--- | ---
Avoid unused local variables such as 'ldapUser'. | 106

### org/apache/turbine/services/servlet/TurbineServletService.java

Violation | Line
--- | ---
Avoid empty catch blocks | 116 - 119

### org/apache/turbine/services/template/mapper/ClassMapper.java

Violation | Line
--- | ---
Avoid empty catch blocks | 150 - 153

### org/apache/turbine/services/ui/TurbineUIService.java

Violation | Line
--- | ---
Avoid unused imports such as 'org.apache.turbine.services.pull.tools.UITool' | 36

### org/apache/turbine/services/velocity/TurbineVelocityService.java

Violation | Line
--- | ---
Avoid empty catch blocks | 323 - 326
Avoid empty catch blocks | 368 - 371
Avoid empty catch blocks | 408 - 411

### org/apache/turbine/util/BrowserDetector.java

Violation | Line
--- | ---
Avoid empty catch blocks | 203 - 206
Avoid empty catch blocks | 222 - 225
Avoid empty catch blocks | 254 - 257
These nested if statements could be combined | 311 - 316
These nested if statements could be combined | 348 - 359

### org/apache/turbine/util/ObjectUtils.java

Violation | Line
--- | ---
Avoid empty catch blocks | 132 - 135
Avoid empty catch blocks | 148 - 151

### org/apache/turbine/util/security/TurbineAccessControlList.java

Violation | Line
--- | ---
These nested if statements could be combined | 188 - 191
These nested if statements could be combined | 247 - 250
These nested if statements could be combined | 323 - 326
These nested if statements could be combined | 402 - 405

### org/apache/turbine/util/template/TemplateInfo.java

Violation | Line
--- | ---
Avoid empty catch blocks | 116 - 121

### org/apache/turbine/util/velocity/VelocityActionEvent.java

Violation | Line
--- | ---
These nested if statements could be combined | 177 - 181
These nested if statements could be combined | 254 - 258

### org/apache/turbine/services/schedule/BaseJobEntry.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'java.util.Date' | 8
Avoid unused imports such as 'org.apache.torque.om.ComboKey' | 15
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21
Avoid unused imports such as 'org.apache.torque.util.Criteria' | 22
Avoid empty if statements | 909 - 910
Avoid empty if statements | 939 - 940

### org/apache/turbine/services/schedule/BaseJobEntryPeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'java.util.Iterator' | 8
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/schedule/map/JobEntryMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.util.Date' | 3
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12

### org/apache/turbine/services/security/torque/om/BaseTurbineGroup.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'java.util.Date' | 8
Avoid unused imports such as 'org.apache.torque.om.ComboKey' | 15
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineGroupPeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'java.util.Iterator' | 8
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbinePermission.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'java.util.Date' | 8
Avoid unused imports such as 'org.apache.torque.om.ComboKey' | 15
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbinePermissionPeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'java.util.Iterator' | 8
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineRole.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'java.util.Date' | 8
Avoid unused imports such as 'org.apache.torque.om.ComboKey' | 15
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineRolePeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'java.util.Iterator' | 8
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineRolePermission.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'java.util.Date' | 8
Avoid unused imports such as 'org.apache.commons.lang.ObjectUtils' | 11
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21
Avoid unused imports such as 'org.apache.torque.util.Criteria' | 22
Avoid empty if statements | 650 - 651
Avoid empty if statements | 674 - 675

### org/apache/turbine/services/security/torque/om/BaseTurbineRolePermissionPeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineUser.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.om.ComboKey' | 15
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineUserGroupRole.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'java.util.Date' | 8
Avoid unused imports such as 'org.apache.commons.lang.ObjectUtils' | 11
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 16
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 20
Avoid unused imports such as 'org.apache.torque.om.Persistent' | 21
Avoid unused imports such as 'org.apache.torque.util.Criteria' | 22
Avoid empty if statements | 797 - 798
Avoid empty if statements | 823 - 824

### org/apache/turbine/services/security/torque/om/BaseTurbineUserGroupRolePeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/security/torque/om/BaseTurbineUserPeer.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 3
Avoid unused imports such as 'java.util.Date' | 7
Avoid unused imports such as 'java.util.Iterator' | 8
Avoid unused imports such as 'org.apache.torque.om.DateKey' | 19
Avoid unused imports such as 'org.apache.torque.om.NumberKey' | 20
Avoid unused imports such as 'org.apache.torque.om.StringKey' | 21

### org/apache/turbine/services/security/torque/om/map/TurbineGroupMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.util.Date' | 3
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12

### org/apache/turbine/services/security/torque/om/map/TurbinePermissionMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.util.Date' | 3
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12

### org/apache/turbine/services/security/torque/om/map/TurbineRoleMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.util.Date' | 3
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12

### org/apache/turbine/services/security/torque/om/map/TurbineRolePermissionMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.util.Date' | 3
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12

### org/apache/turbine/services/security/torque/om/map/TurbineUserGroupRoleMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.util.Date' | 3
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12

### org/apache/turbine/services/security/torque/om/map/TurbineUserMapBuilder.java

Violation | Line
--- | ---
Avoid unused imports such as 'java.math.BigDecimal' | 4
Avoid unused imports such as 'org.apache.torque.map.InheritanceMap' | 12