Skip to content

Commit 75016df

Browse files
committed
make fields final in AdviceScope
1 parent 0e14a5c commit 75016df

File tree

1 file changed

+4
-4
lines changed
  • instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0

1 file changed

+4
-4
lines changed

instrumentation/apache-httpclient/apache-httpclient-5.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v5_0/ApacheHttpClientInstrumentation.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ public void transform(TypeTransformer transformer) {
125125
}
126126

127127
public static class AdviceScope {
128-
public final ClassicHttpRequest request;
129-
public final Context parentContext;
130-
public final Context context;
131-
public final Scope scope;
128+
private final ClassicHttpRequest request;
129+
private final Context parentContext;
130+
private final Context context;
131+
private final Scope scope;
132132

133133
private AdviceScope(
134134
ClassicHttpRequest request, Context parentContext, Context context, Scope scope) {

0 commit comments

Comments
 (0)