-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some java lint warnings #5120
Conversation
...on-api/src/main/java/io/opentelemetry/instrumentation/api/config/ConfigParsingException.java
Outdated
Show resolved
Hide resolved
// Because this module targets Java 9, we trigger this compiler bug which was fixed but not | ||
// backported to Java 9 compilation. | ||
// https://bugs.openjdk.java.net/browse/JDK-8209058 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
…nstrumentation into java-warnings
@@ -30,13 +29,17 @@ | |||
extends BaseTracer { | |||
private static final String DB_QUERY = "DB Query"; | |||
|
|||
protected final NetPeerAttributes netPeerAttributes; | |||
protected final io.opentelemetry.instrumentation.api.tracer.net.NetPeerAttributes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this change, @anuraaga ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since NetPeerAttributes
is deprecated and can't be used in import statement
* Convert InstrumentationTestRunner from interface to abstract class * Foo * Commit * Revert unintended
Looking into enabling lint on this repo like the others, for now sending a first set of lint fixes.
Depends on #5112