[
https://issues.jboss.org/browse/DROOLS-2415?page=com.atlassian.jira.plugi...
]
Mario Fusco commented on DROOLS-2415:
-------------------------------------
[~tzimanyi] I know this is an inconsistency, but I don't see any alternative other
than leaving it as it is. I cannot change the signature of EntryPoint#getFactCount without
breaking backward compatibility. At the same time I cannot make the store to return a long
because in a couple of points it is used with the semantic of a Java Collection that has
an int as size, see
https://github.com/kiegroup/drools/blob/master/drools-core/src/main/java/...
https://github.com/kiegroup/drools/blob/master/drools-core/src/main/java/...
i propose to close this as "WON'T FIX". What do you think?
ClassAwareObjectStore size attribute is of type int
---------------------------------------------------
Key: DROOLS-2415
URL:
https://issues.jboss.org/browse/DROOLS-2415
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.6.0.Final
Reporter: Tibor Zimányi
Assignee: Mario Fusco
Priority: Major
ClassAwareObjectStore size attribute is of type int [1],however entryPoint.getFactCount()
(this gets the return value from the object store) is of type long.
[1]
https://github.com/kiegroup/drools/blob/91cb991a4db283ac00eaa2e16d606d722...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)