From b6d09ef9da41191199f2da7958d5b418ed2da8d9 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Wed, 4 Oct 2023 16:13:59 +0100 Subject: Remove AAF from drools-pdp Issue-ID: POLICY-4592 Change-Id: Ibe7fb63017f862bdab4a80444a00324040b1ab87 Signed-off-by: adheli.tavares --- .../main/java/org/onap/policy/drools/pooling/state/QueryState.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'feature-pooling-dmaap/src/main/java/org/onap') diff --git a/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/QueryState.java b/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/QueryState.java index ea74f03a..3e6f9d58 100644 --- a/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/QueryState.java +++ b/feature-pooling-dmaap/src/main/java/org/onap/policy/drools/pooling/state/QueryState.java @@ -3,6 +3,7 @@ * ONAP * ================================================================================ * Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,7 +33,7 @@ import org.slf4j.LoggerFactory; /** * The Query state. In this state, the host waits for the other hosts to identify * themselves. Eventually, a leader should come forth. If not, it will transition to the - * active or inactive state, depending on whether or not it has an assignment in the + * active or inactive state, depending on whether it has an assignment in the * current bucket assignments. The other possibility is that it may become the * leader, in which case it will also transition to the active state. */ @@ -43,7 +44,7 @@ public class QueryState extends ProcessingState { /** * Hosts that have sent an "Identification" message. Always includes this host. */ - private TreeSet alive = new TreeSet<>(); + private final TreeSet alive = new TreeSet<>(); /** * {@code True} if we saw our own Identification method, {@code false} otherwise. -- cgit 1.2.3-korg