New Check: NullCheckStyleInCondition #68

Closed
romani opened this Issue Nov 3, 2012 · 0 comments

Projects

None yet

2 participants

@romani
Member
romani commented Nov 3, 2012

(in progress by Sergey Burtsev) check to standardize condition expressions. Safe (in C++ approach) IF conditions. Example : "if (varialble == null)" ==> "if (null == varialble)"
In Java there is no posibility to make ocasionally "=" instead of "==". so We need to force developers to write "if (varialble == null)".

http://sourceforge.net/tracker/?func=detail&aid=3004587&group_id=29721&atid=397081
https://sourceforge.net/tracker/?func=detail&aid=3103881&group_id=29721&atid=397081

@burtsevsergey burtsevsergey was assigned Nov 4, 2012
@romani romani closed this Nov 4, 2012
@romani romani reopened this Nov 4, 2012
@burtsevsergey burtsevsergey added a commit to burtsevsergey/sevntu.checkstyle that referenced this issue Dec 2, 2012
@burtsevsergey burtsevsergey #68 - created check 44b6783
@burtsevsergey burtsevsergey added a commit to burtsevsergey/sevntu.checkstyle that referenced this issue Jan 4, 2013
@burtsevsergey burtsevsergey #68 - add unit tests (there are incorrect positions in error messages) b59086f
@burtsevsergey burtsevsergey added a commit to burtsevsergey/sevntu.checkstyle that referenced this issue Feb 20, 2013
@burtsevsergey burtsevsergey #68 - refactoring 8becf95
@burtsevsergey burtsevsergey added a commit to burtsevsergey/sevntu.checkstyle that referenced this issue May 15, 2013
@burtsevsergey burtsevsergey #68 - created check cd6dab3
@burtsevsergey burtsevsergey added a commit to burtsevsergey/sevntu.checkstyle that referenced this issue May 15, 2013
@burtsevsergey burtsevsergey #68 - add unit tests (there are incorrect positions in error messages) 1091e7b
@burtsevsergey burtsevsergey added a commit to burtsevsergey/sevntu.checkstyle that referenced this issue May 15, 2013
@burtsevsergey burtsevsergey #68 - refactoring d1d355b
@romani romani closed this Aug 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment