eg:
Class Foo{
int A;
String B;
.
.
}
if (foo.getA() > 5){
}
If any operation is done on the object without a null check, it has to be highlighted and logged..
Thanks in anticipation!
Please write exact and compilable code as examples. Please provide example of code that you think is correct and few codes that are not correct. In each incorrect example please write trailing single line comment. Also provide message you thinks is appropriate.
Thanks,
Roman Ivanov
--
You received this message because you are subscribed to the Google Groups "checkstyle" group.
To unsubscribe from this group and stop receiving emails from it, send an email to checkstyle+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.