This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
laboratoare:tutorial-checkstyle [2017/10/01 22:08] Adriana Draghici [Tutorial checkstyle] |
laboratoare:tutorial-checkstyle [2017/10/02 11:18] (current) Tudor Paraschivescu |
||
---|---|---|---|
Line 3: | Line 3: | ||
* Responsabil: [[michelcatalin@gmail.com|Mihai Burdușelu]] | * Responsabil: [[michelcatalin@gmail.com|Mihai Burdușelu]] | ||
* Data publicării: 01.10.2017 | * Data publicării: 01.10.2017 | ||
- | * Data ultimei modificări: 28.09.2017 | + | * Data ultimei modificări: 02.10.2017 |
==Obiective== | ==Obiective== | ||
Line 42: | Line 42: | ||
3. 'name' hides a field. [HiddenField] | 3. 'name' hides a field. [HiddenField] | ||
4. Parameter minutes should be final. [FinalParameters] | 4. Parameter minutes should be final. [FinalParameters] | ||
- | |||
5. Class 'Dog' looks like designed for extension (can be subclassed), but the method 'bark' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Dog' final or making the method 'bark' static/final/abstract/empty, or adding allowed annotation for the method. [DesignForExtension] | 5. Class 'Dog' looks like designed for extension (can be subclassed), but the method 'bark' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Dog' final or making the method 'bark' static/final/abstract/empty, or adding allowed annotation for the method. [DesignForExtension] | ||
</code> | </code> |