Skip to content

Commit 41c5552

Browse files
committed
Fix fossa config and linting
1 parent 7640875 commit 41c5552

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.fossa.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ targets:
8585
- type: gradle
8686
path: ./
8787
target: ':instrumentation:c3p0-0.9:library'
88+
- type: gradle
89+
path: ./
90+
target: ':instrumentation:camel-2.20:bootstrap'
8891
- type: gradle
8992
path: ./
9093
target: ':instrumentation:camel-2.20:javaagent'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
plugins {
22
id("otel.javaagent-bootstrap")
3-
}
3+
}

instrumentation/camel-2.20/bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/apachecamel/ContextWithScope.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1+
/*
2+
* Copyright The OpenTelemetry Authors
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
16
package io.opentelemetry.javaagent.bootstrap.apachecamel;
27

3-
import javax.annotation.Nullable;
48
import io.opentelemetry.context.Context;
59
import io.opentelemetry.context.Scope;
6-
10+
import javax.annotation.Nullable;
11+
712
public class ContextWithScope {
813
@Nullable private final ContextWithScope parent;
914
@Nullable private final Context context;
1015
@Nullable private final Scope scope;
1116

12-
public ContextWithScope(
13-
ContextWithScope parent, Context context, Scope scope) {
17+
public ContextWithScope(ContextWithScope parent, Context context, Scope scope) {
1418
this.parent = parent;
1519
this.context = context;
1620
this.scope = scope;
@@ -40,4 +44,4 @@ public void deactivate() {
4044
public String toString() {
4145
return "ContextWithScope [context=" + context + ", scope=" + scope + "]";
4246
}
43-
}
47+
}

0 commit comments

Comments
 (0)