PMD Results

The following document contains the results of PMD 4.1.

Files

org/paneris/jal/controller/Admin.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 110
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 228
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 496

org/paneris/jal/controller/CreateDSD.java

Violation Line
Avoid empty if statements 251 - 253
Avoid empty if statements 428 - 429

org/paneris/jal/controller/Export.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 132
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 178

org/paneris/jal/controller/LookupList.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 125
An empty statement (semicolon) not part of a loop 153

org/paneris/jal/controller/POSQL.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 47

org/paneris/jal/controller/Upload.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 182
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 258

org/paneris/jal/model/DBConnectionManager.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 279
An empty statement (semicolon) not part of a loop 562

org/paneris/jal/model/DDField.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 439
These nested if statements could be combined 469 - 474

org/paneris/jal/model/DDRecord.java

Violation Line
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 187
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 322
These nested if statements could be combined 389 - 393
These nested if statements could be combined 427 - 429
These nested if statements could be combined 514 - 549
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 581
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 588
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 718
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 782
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 791

org/paneris/jal/model/FieldMetaData.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 53
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 67

org/paneris/jal/model/HTMLUtil.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 212
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 496
Avoid empty if statements 721
Avoid empty if statements 722
Avoid empty if statements 723

org/paneris/jal/model/RecordSet.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 102
An empty statement (semicolon) not part of a loop 300
An empty statement (semicolon) not part of a loop 313

org/paneris/jal/model/SQLMetaData.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 113

org/paneris/jal/model/TableMetaData.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 83
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 115
These nested if statements could be combined 200 - 203

org/paneris/messageboard/controller/ListBoards.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 89

org/paneris/messageboard/controller/MessageBoard.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 52

org/paneris/messageboard/controller/MessageboardUpdater.java

Violation Line
These nested if statements could be combined 83 - 85

org/paneris/messageboard/controller/SearchMessages.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 53

org/paneris/messageboard/controller/UpdateMessage.java

Violation Line
These nested if statements could be combined 67 - 69

org/paneris/messageboard/model/Attachment.java

Violation Line
These nested if statements could be combined 118 - 122

org/paneris/messageboard/model/Board.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 68
An empty statement (semicolon) not part of a loop 92
An empty statement (semicolon) not part of a loop 125

org/paneris/messageboard/model/Message.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 75
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 216

org/paneris/messageboard/model/MessageThread.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 49

org/paneris/messageboard/receivemail/DotTerminatedInputStream.java

Violation Line
An empty statement (semicolon) not part of a loop 148

org/paneris/messageboard/receivemail/MessageBoardStore.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 165
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 209

org/paneris/messageboard/receivemail/SMTPSession.java

Violation Line
An empty statement (semicolon) not part of a loop 109
An empty statement (semicolon) not part of a loop 287

org/paneris/paneris/model/PageContent.java

Violation Line
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 47

org/paneris/user/controller/EditUser.java

Violation Line
These nested if statements could be combined 59 - 61
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 100
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 112

org/paneris/user/controller/LoginForgot.java

Violation Line
These nested if statements could be combined 38 - 41
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 66

org/paneris/user/controller/LoginUser.java

Violation Line
These nested if statements could be combined 37
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 56
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 68

org/paneris/user/model/User.java

Violation Line
These nested if statements could be combined 138 - 142
These nested if statements could be combined 139 - 141
These nested if statements could be combined 175 - 178
An empty statement (semicolon) not part of a loop 244
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 261
These nested if statements could be combined 263 - 266
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 297
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 334
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. 342
Always check the return of one of the navigation method (next,previous,first,last) of a ResultSet. 400
An empty statement (semicolon) not part of a loop 432
An empty statement (semicolon) not part of a loop 438

org/paneris/util/IoUtils.java

Violation Line
Avoid empty catch blocks 57

org/paneris/util/SQLUtils.java

Violation Line
An empty statement (semicolon) not part of a loop 25
An empty statement (semicolon) not part of a loop 30

org/paneris/util/SessionUtil.java

Violation Line
These nested if statements could be combined 19 - 21

org/webmacro/servlet/PanerisPage.java

Violation Line
Avoid empty catch blocks 564 - 567
An empty statement (semicolon) not part of a loop 815