From 029623abd26a52888b19fcb06125062f0c97ab38 Mon Sep 17 00:00:00 2001 From: Xiaxuan Gao Date: Fri, 27 Oct 2023 10:57:38 -0700 Subject: [PATCH] Add final --- .../StoppableInstancesSelector.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java index f0ba1ab7e3..b8d9a36464 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java +++ b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java @@ -43,11 +43,11 @@ public class StoppableInstancesSelector { // to HealthCheck enum, it could introduce more unnecessary check step since the InstanceServiceImpl // loops all the types to do corresponding checks. private final static String INSTANCE_NOT_EXIST = "HELIX:INSTANCE_NOT_EXIST"; - private String _clusterId; + private final String _clusterId; private List _orderOfZone; - private String _customizedInput; - private MaintenanceManagementService _maintenanceService; - private ClusterTopology _clusterTopology; + private final String _customizedInput; + private final MaintenanceManagementService _maintenanceService; + private final ClusterTopology _clusterTopology; public StoppableInstancesSelector(String clusterId, List orderOfZone, String customizedInput, MaintenanceManagementService maintenanceService,