Skip to content
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

Merged
merged 6 commits into from
Jan 17, 2022
Merged

Conversation

anuraaga
Copy link
Contributor

Looking into enabling lint on this repo like the others, for now sending a first set of lint fixes.

Depends on #5112

@anuraaga anuraaga requested a review from a team January 14, 2022 09:31
Comment on lines +24 to +26
// 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@trask trask merged commit b7a9585 into open-telemetry:main Jan 17, 2022
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change, @anuraaga ?

Copy link
Contributor Author

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

RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
* Convert InstrumentationTestRunner from interface to abstract class

* Foo

* Commit

* Revert unintended
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants