diff --git a/solr/core/src/java/org/apache/solr/servlet/PriorityBasedRateLimiter.java b/solr/core/src/java/org/apache/solr/servlet/PriorityBasedRateLimiter.java index 3f7cbf1ab7c..bf7b241be78 100644 --- a/solr/core/src/java/org/apache/solr/servlet/PriorityBasedRateLimiter.java +++ b/solr/core/src/java/org/apache/solr/servlet/PriorityBasedRateLimiter.java @@ -6,7 +6,6 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.servlet.http.HttpServletRequest; - import org.apache.solr.common.SolrException; import org.apache.solr.core.RateLimiterConfig; @@ -42,7 +41,9 @@ public SlotReservation handleRequest(HttpServletRequest request) { } RequestPriorities requestPriority = getRequestPriority(request); if (requestPriority == null) { - throw new SolrException(SolrException.ErrorCode.BAD_REQUEST, "Request priority header is not defined or not set properly"); + throw new SolrException( + SolrException.ErrorCode.BAD_REQUEST, + "Request priority header is not defined or not set properly"); } try { if (!acquire(requestPriority)) {