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

Improve whitespace handling in oracle jdbc url parser #12512

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

laurit
Copy link
Contributor

@laurit laurit commented Oct 24, 2024

Resolves #12400

@laurit laurit requested a review from a team as a code owner October 24, 2024 12:23
@github-actions github-actions bot added the test native This label can be applied to PRs to trigger them to run native tests label Oct 24, 2024
@@ -530,10 +530,12 @@ DbInfo.Builder doParse(String jdbcUrl, DbInfo.Builder builder) {
},

ORACLE_AT() {
private final Pattern descriptionPattern = Pattern.compile("@\\s*\\(\\s*description");
Copy link
Contributor

Choose a reason for hiding this comment

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

For constant, use capital here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

as far as I know our coding rules do not allow using upper case for non static fields

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 ca44975 into open-telemetry:main Oct 24, 2024
56 checks passed
@laurit laurit deleted the oracle-jdbc branch October 25, 2024 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test native This label can be applied to PRs to trigger them to run native tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attribute db.name is not handled correctly for Derby and Oracle tnsnames
4 participants