I fixed a few methods in my class that had the
"CheckParametersNullityInVisibleMethodsRule" issue. I opted to do so like
this:
If IsNothing(storeCd) Then
Throw New ArgumentNullException("storeCd")
End If
Upon doing so, now I have AvoidCodeDuplicatedInSameClassRule problems
throughout. I assume it's because I have the same basic structure at the
top of every public method, but I thought because they were constructed on
unique parameters that wouldn't matter. Any advice? Am I handling this
incorrectly?
--
You received this message because you are subscribed to the Google Groups
"Gendarme" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/gendarme?hl=en.