[
https://issues.jboss.org/browse/DROOLS-4371?page=com.atlassian.jira.plugi...
]
Daniele Zonca updated DROOLS-4371:
----------------------------------
Labels: HADrools (was: )
HACEP: Fix issue reported by findbugs
-------------------------------------
Key: DROOLS-4371
URL:
https://issues.jboss.org/browse/DROOLS-4371
Project: Drools
Issue Type: Bug
Components: core engine
Reporter: Daniele Zonca
Assignee: Massimiliano Dessi
Priority: Major
Labels: HADrools
09:26:43 [ERROR] Incorrect lazy initialization and update of static field
org.kie.hacep.Config.config in org.kie.hacep.Config.getStatic() [org.kie.hacep.Config] At
Config.java:[lines 99-100] LI_LAZY_INIT_UPDATE_STATIC
09:26:43 [ERROR] Integer is incompatible with expected argument type
org.apache.kafka.common.TopicPartition in
org.kie.hacep.core.infra.DeafultSessionSnapShooter.configConsumer()
[org.kie.hacep.core.infra.DeafultSessionSnapShooter] At
DeafultSessionSnapShooter.java:[line 121] GC_UNRELATED_TYPES
These two types are different so this will never succeed
{{partitions.contains(partition.partition())}}
Please fix and remove duplication too
https://github.com/kiegroup/openshift-drools-hacep/blob/2ac305ab2ccc5d2ca...
https://github.com/kiegroup/openshift-drools-hacep/blob/2ac305ab2ccc5d2ca...
--
This message was sent by Atlassian Jira
(v7.12.1#712002)