[ checkstyle-Patches-3384167 ] AvoidConstantsInInterfacesCheck

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ checkstyle-Patches-3384167 ] AvoidConstantsInInterfacesCheck

SourceForge.net
Patches item #3384167, was opened at 2011-08-01 23:32
Message generated for change (Comment added) made by oburn
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397080&aid=3384167&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Deleted
Resolution: None
Priority: 5
Private: No
Submitted By: Svinukhov Vladimir (svvladimir)
Assigned to: Nobody/Anonymous (nobody)
Summary: AvoidConstantsInInterfacesCheck

Initial Comment:
Interfaces should be used only to define types.
They should not be used to export constants.
Developer should avoid declaration of constants in interfaces.
For more information read: "Effective Java" chapter "Item 19: Use interfaces only to define types"
This check reports if the interface contains the declaration of constants.

----------------------------------------------------------------------

>Comment By: Oliver Burn (oburn)
Date: 2012-04-16 03:43

Message:
duplicate of 3384162

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397080&aid=3384167&group_id=29721

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Checkstyle-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel