You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Methods readObject(...) and writeObject(...) should call the method from superclass instead of handling the attributeName field themselves in classes LikePredicate and RegexPredicate.
Similarly also the one-param constructors in these classes could call one-param constructor from the superclass.
The correct handling is already present in other predicates (BetweenPredicate, EqualPredicate, GreaterLessPredicate, InPredicate).
Methods
readObject(...)
andwriteObject(...)
should call the method from superclass instead of handling theattributeName
field themselves in classesLikePredicate
andRegexPredicate
.Similarly also the one-param constructors in these classes could call one-param constructor from the superclass.
The correct handling is already present in other predicates (
BetweenPredicate
,EqualPredicate
,GreaterLessPredicate
,InPredicate
).https://scan4.coverity.com/reports.htm#v32322/p13030/fileInstanceId=29224151&defectInstanceId=5757072&mergedDefectId=202142
https://scan4.coverity.com/reports.htm#v32322/p13030/fileInstanceId=29224151&defectInstanceId=5757069&mergedDefectId=202218
https://scan4.coverity.com/reports.htm#v32322/p13030/fileInstanceId=29222183&defectInstanceId=5757064&mergedDefectId=202170
https://scan4.coverity.com/reports.htm#v32322/p13030/fileInstanceId=29222183&defectInstanceId=5757070&mergedDefectId=202219
The text was updated successfully, but these errors were encountered: