Skip to content

Commit 3d6f5af

Browse files
committed
Made static fields final
1 parent 7cd6ef4 commit 3d6f5af

File tree

1 file changed

+2
-2
lines changed
  • instrumentation/netty-4.1.16/src/main/java/com/agent/instrumentation/netty4116

1 file changed

+2
-2
lines changed

instrumentation/netty-4.1.16/src/main/java/com/agent/instrumentation/netty4116/NettyUtil.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public class NettyUtil {
2222
// This config is added so customers can also start netty transactions at a lower level.
2323
// However, this risks netty producing transactions with 'unknown' urls.
2424
// Only use it if it provides the coverage you need for your application's use case.
25-
public static Boolean START_HTTP2_FRAME_READ_LISTENER_TXN =
25+
public static final Boolean START_HTTP2_FRAME_READ_LISTENER_TXN =
2626
NewRelic.getAgent().getConfig().getValue("netty.http2.frame_read_listener.start_transaction", false);
27-
public static Boolean START_HTTP2_FRAME_CODEC_TXN = !START_HTTP2_FRAME_READ_LISTENER_TXN;
27+
public static final Boolean START_HTTP2_FRAME_CODEC_TXN = !START_HTTP2_FRAME_READ_LISTENER_TXN;
2828

2929
public static String getNettyVersion() {
3030
return "4.1.16";

0 commit comments

Comments
 (0)