[
https://issues.redhat.com/browse/DROOLS-4895?page=com.atlassian.jira.plug...
]
Edoardo Vacchi updated DROOLS-4895:
-----------------------------------
Description:
add {{RuleUnitDescription createRuleUnitDescription( KiePackage pkg, String
ruleUnitSimpleName );}} it should be a no-op because it is only used in Kogito
also {{RuleUnitDescriptionLoader}} may use this method in case
{{createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnit );} fails. However,
this cannot happen in Drools 7, as the RuleUnit is always described by a Class, so it will
always return null (it's a no-op after all). Reasons for backport are only code
alignment.
was:add {{RuleUnitDescription createRuleUnitDescription( KiePackage pkg, String
ruleUnitSimpleName );}} it should be a no-op because it is only used in Kogito
Backport RuleUnitComponentFactory#createRuleUnitDescription(
KiePackage, String );
----------------------------------------------------------------------------------
Key: DROOLS-4895
URL:
https://issues.redhat.com/browse/DROOLS-4895
Project: Drools
Issue Type: Bug
Reporter: Edoardo Vacchi
Assignee: Edoardo Vacchi
Priority: Major
Labels: drools-core
add {{RuleUnitDescription createRuleUnitDescription( KiePackage pkg, String
ruleUnitSimpleName );}} it should be a no-op because it is only used in Kogito
also {{RuleUnitDescriptionLoader}} may use this method in case
{{createRuleUnitDescription( KiePackage pkg, Class<?> ruleUnit );} fails. However,
this cannot happen in Drools 7, as the RuleUnit is always described by a Class, so it will
always return null (it's a no-op after all). Reasons for backport are only code
alignment.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)