| Anonymous | Login | 2010-09-08 18:30 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki |
| View Issue Details[ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0000055 | jquantlib | [All Projects] tools | public | 2008-12-20 12:17 | 2009-03-09 00:11 | |
| Reporter | Richard Gomes | |||||
| Assigned To | Richard Gomes | |||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |
| Status | closed | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | ||||||
| Target Version | 0.1.2 | Fixed in Version | 0.1.2 | |||
| Summary | 0000055: PMD should list private fields which are not final | |||||
| Description | Private fields in general are initialized by constructors. So they should be made final. For a good reason, a field can be left non-final, because it is probably used as a variable intended to keep state, not as a simple object holder. This verification helps developers to review their code and find objects left not initialized by constructors. | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
(0000102) Richard Gomes (manager) 2009-02-02 02:34 |
* I've created colt.xml and fastutil.xml under directory src/main/pmd as example. * I've integrated these 2 rulesets in pom.xml near line 900: <ruleset>${basedir}/src/main/pmd/colt.xml</ruleset> <ruleset>${basedir}/src/main/pmd/fastutil.xml</ruleset> * The following articles explain how PMD rulesets can be created: http://pmd.sourceforge.net/howtowritearule.html [^] http://www.onjava.com/pub/a/onjava/2003/04/09/pmd_rules.html [^] |
|
(0000111) Ueli Hofstetter (developer) 2009-02-03 12:39 |
review/confirm |
|
(0000140) Richard Gomes (manager) 2009-02-08 17:11 |
done see src/main/pmd/fieldDeclaration.xml |
|
(0000236) Richard Gomes (manager) 2009-03-09 00:11 |
Do not fix: it's not convenient. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-12-20 12:17 | Richard Gomes | New Issue | |
| 2008-12-20 12:17 | Richard Gomes | Status | new => assigned |
| 2008-12-20 12:17 | Richard Gomes | Assigned To | => Dominik Holenstein |
| 2009-01-25 06:41 | Dominik Holenstein | Assigned To | Dominik Holenstein => |
| 2009-01-25 21:21 | Richard Gomes | Target Version | => 0.1.2 |
| 2009-01-25 23:24 | Richard Gomes | Relationship added | child of 0000030 |
| 2009-01-27 01:11 | Administrator | Status | assigned => new |
| 2009-02-02 02:34 | Richard Gomes | Note Added: 0000102 | |
| 2009-02-02 19:20 | Ueli Hofstetter | Status | new => assigned |
| 2009-02-02 19:20 | Ueli Hofstetter | Assigned To | => Ueli Hofstetter |
| 2009-02-03 12:39 | Ueli Hofstetter | Note Added: 0000111 | |
| 2009-02-03 12:39 | Ueli Hofstetter | Assigned To | Ueli Hofstetter => Richard Gomes |
| 2009-02-08 16:55 | Richard Gomes | Description Updated | |
| 2009-02-08 16:55 | Richard Gomes | Issue Monitored: Dominik Holenstein | |
| 2009-02-08 16:55 | Richard Gomes | Issue Monitored: Ueli Hofstetter | |
| 2009-02-08 16:55 | Richard Gomes | Issue Monitored: Srinivas Hasti | |
| 2009-02-08 16:55 | Richard Gomes | Issue Monitored: Richard Gomes | |
| 2009-02-08 16:58 | Richard Gomes | Relationship added | related to 0000183 |
| 2009-02-08 17:05 | Richard Gomes | Description Updated | |
| 2009-02-08 17:11 | Richard Gomes | Note Added: 0000140 | |
| 2009-02-08 17:11 | Richard Gomes | Status | assigned => resolved |
| 2009-02-08 17:11 | Richard Gomes | Fixed in Version | => 0.1.2 |
| 2009-02-08 17:11 | Richard Gomes | Resolution | open => fixed |
| 2009-03-09 00:11 | Richard Gomes | Note Added: 0000236 | |
| 2009-03-09 00:11 | Richard Gomes | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |