This is an automated email from the ASF dual-hosted git repository.

yihaochen pushed a commit to branch fix-endpoint-grouping
in repository https://gitbox.apache.org/repos/asf/skywalking.git


The following commit(s) were added to refs/heads/fix-endpoint-grouping by this 
push:
     new 57b34fadee Add missing final
57b34fadee is described below

commit 57b34fadee7581f2b82cb138d7b19825ac8f5fbc
Author: Superskyyy <[email protected]>
AuthorDate: Tue Jun 20 18:17:39 2023 -0400

    Add missing final
---
 .../skywalking/oap/server/core/config/group/EndpointNameGrouping.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
index 158551364e..1202129d11 100644
--- 
a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
+++ 
b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/config/group/EndpointNameGrouping.java
@@ -99,7 +99,7 @@ public class EndpointNameGrouping {
                     // Algorithm side should not return a pattern that has no 
{var} in it else this
                     // code may accidentally retreive the size 1 queue created 
by unformatted endpoint
                     // The queue size is 10, which means only cache the first 
10 formatted names.
-                    ArrayBlockingQueue<String> formattedURIs = 
svrHttpUris.computeIfAbsent(
+                    final ArrayBlockingQueue<String> formattedURIs = 
svrHttpUris.computeIfAbsent(
                             formattedName._1(), _ -> new 
ArrayBlockingQueue<>(10));
                     if (formattedURIs.size() < 10) {
                         // Try to push the raw URI as a candidate of formatted 
name.

Reply via email to