[
https://issues.redhat.com/browse/DROOLS-5878?page=com.atlassian.jira.plug...
]
Gabriele Cardosi updated DROOLS-5878:
-------------------------------------
Description:
Currently, ApplyPmmlModelCommand.isMining() is a little bit contrived and SONAR raise
warning
Fix it and add appropriate test
was:
Currently, ApplyPmmlModelCommand.isMining() has two main issues
1) is contrived
2) it seems to return wrong values due to a doubled/wrong negation
{code:java}
if (hasMining == null || !hasMining.booleanValue() == false) {
return false;
{code}
Fix it and add appropriate test
Fix "ApplyPmmlModelCommand.isMining()" implementation
-----------------------------------------------------
Key: DROOLS-5878
URL:
https://issues.redhat.com/browse/DROOLS-5878
Project: Drools
Issue Type: Task
Reporter: Gabriele Cardosi
Assignee: Gabriele Cardosi
Priority: Critical
Labels: TrustyAI
Original Estimate: 2 hours
Remaining Estimate: 2 hours
Currently, ApplyPmmlModelCommand.isMining() is a little bit contrived and SONAR raise
warning
Fix it and add appropriate test
--
This message was sent by Atlassian Jira
(v7.13.8#713008)