From 62cf9a93f5e4f539dd8ab490589ddaabb521f800 Mon Sep 17 00:00:00 2001 From: Justin Sweeney Date: Thu, 2 Nov 2023 15:57:54 -0400 Subject: [PATCH] Tidying code --- .../solr/util/circuitbreaker/CircuitBreakerRegistry.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerRegistry.java b/solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerRegistry.java index 544b24c5aad..a63432f7aed 100644 --- a/solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerRegistry.java +++ b/solr/core/src/java/org/apache/solr/util/circuitbreaker/CircuitBreakerRegistry.java @@ -84,7 +84,10 @@ public List checkTripped(SolrRequestType requestType) { if (circuitBreaker.isTripped()) { if (circuitBreaker.isDebugMode()) { if (log.isInfoEnabled()) { - log.info("Circuit breaker {} has tripped: {}", circuitBreaker.getClass().getSimpleName(), circuitBreaker.getErrorMessage()); + log.info( + "Circuit breaker {} has tripped: {}", + circuitBreaker.getClass().getSimpleName(), + circuitBreaker.getErrorMessage()); } } else { if (triggeredCircuitBreakers == null) {