Rikkola commented on code in PR #6584:
URL:
https://github.com/apache/incubator-kie-drools/pull/6584#discussion_r2772907974
##########
drools-core/src/main/java/org/drools/core/reteoo/ReteooBuilder.java:
##########
@@ -381,16 +382,13 @@ private void updateLeafSet(BaseNode baseNode, NodeSet
leafSet) {
public static class IdGenerator implements Externalizable {
private static final long serialVersionUID = 510l;
+ private static final int FIRST_ID = 1;
private Queue<Integer> recycledIds;
private int nextId;
public IdGenerator() {
- this(1);
- }
-
- public IdGenerator(final int firstId) {
- this.nextId = firstId;
+ this.nextId = FIRST_ID;
Review Comment:
No callers exist.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]