PMD Results

The following document contains the results of PMD 4.3.

Files

goldengate/uip/GgPassword.java

ViolationLine
Singleton is not thread safe176 - 178
Overridable method 'createNewKey' called during object construction197
Overridable method 'saveKey' called during object construction198
Overridable method 'loadKey' called during object construction201
Overridable method 'setPasswordFile' called during object construction204
Overridable method 'loadPasswordFile' called during object construction205
Overridable method 'setClearPassword' called during object construction208
Overridable method 'setCryptedPassword' called during object construction211
Overridable method 'setPasswordFile' called during object construction214
Overridable method 'savePasswordFile' called during object construction215
Overridable method 'getClearPassword' called during object construction219
Overridable method 'getCryptedPassword' called during object construction221

goldengate/uip/GgUiPassword.java

ViolationLine
Perhaps 'helpMenuItem' could be replaced by a local variable.58
Perhaps 'jMenu5' could be replaced by a local variable.59
Perhaps 'jPanel1' could be replaced by a local variable.66
Perhaps 'savePasswordMenuItem' could be replaced by a local variable.72
Perhaps 'loadPasswordMenuItem' could be replaced by a local variable.75
Perhaps 'exitMenuItem' could be replaced by a local variable.77
Perhaps 'jSeparator2' could be replaced by a local variable.78
Perhaps 'openFileMenuItem' could be replaced by a local variable.81
Perhaps 'newFileMenuItem' could be replaced by a local variable.82
Perhaps 'jMenu3' could be replaced by a local variable.83
Perhaps 'jMenuBar1' could be replaced by a local variable.84
Private field 'chooserKeyFile' could be made final; it is only initialized in the declaration or constructor.86
Private field 'filterKey' could be made final; it is only initialized in the declaration or constructor.87
Private field 'chooserPwdFile' could be made final; it is only initialized in the declaration or constructor.88
Private field 'filterPwdKey' could be made final; it is only initialized in the declaration or constructor.89
Avoid using java.lang.ThreadGroup; it is not thread safe182
Avoid using java.lang.ThreadGroup; it is not thread safe188
Avoid using java.lang.ThreadGroup; it is not thread safe203
Avoid using java.lang.ThreadGroup; it is not thread safe648
Avoid using java.lang.ThreadGroup; it is not thread safe649
Avoid using java.lang.ThreadGroup; it is not thread safe697