@@ -209,7 +209,7 @@ private static String[] machineLearningAcknowledgementMessages(OperationMode cur
209
209
private static String [] logstashAcknowledgementMessages (OperationMode currentMode , OperationMode newMode ) {
210
210
switch (newMode ) {
211
211
case BASIC :
212
- if (! isBasic (currentMode )) {
212
+ if (isBasic (currentMode ) == false ) {
213
213
return new String [] { "Logstash will no longer poll for centrally-managed pipelines" };
214
214
}
215
215
break ;
@@ -220,7 +220,7 @@ private static String[] logstashAcknowledgementMessages(OperationMode currentMod
220
220
private static String [] beatsAcknowledgementMessages (OperationMode currentMode , OperationMode newMode ) {
221
221
switch (newMode ) {
222
222
case BASIC :
223
- if (! isBasic (currentMode )) {
223
+ if (isBasic (currentMode ) == false ) {
224
224
return new String [] { "Beats will no longer poll for centrally-managed configuration" };
225
225
}
226
226
break ;
@@ -515,7 +515,7 @@ public boolean isRollupAllowed() {
515
515
*/
516
516
public boolean isLogstashAllowed () {
517
517
Status localStatus = status ;
518
- return localStatus .active && ! isBasic (localStatus .mode );
518
+ return localStatus .active && ( isBasic (localStatus .mode ) == false );
519
519
}
520
520
521
521
/**
@@ -524,7 +524,7 @@ public boolean isLogstashAllowed() {
524
524
*/
525
525
public boolean isBeatsAllowed () {
526
526
Status localStatus = status ;
527
- return localStatus .active && ! isBasic (localStatus .mode );
527
+ return localStatus .active && ( isBasic (localStatus .mode ) == false );
528
528
529
529
}
530
530
0 commit comments