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 | Changes after 9.2.0 static analysis #1498

Merged
merged 9 commits into from
Jan 25, 2021
Merged

Conversation

rene-ye
Copy link
Member

@rene-ye rene-ye commented Jan 15, 2021

Fixes static code analysis issues since last release.

@rene-ye rene-ye added this to the 9.2.0 milestone Jan 15, 2021
@rene-ye rene-ye self-assigned this Jan 15, 2021
@@ -29,6 +29,8 @@
*/
@Immutable
class KeyVaultTokenCredential implements TokenCredential {
private static final String NULL_VALUE = "R_NullValue";
Copy link
Contributor

Choose a reason for hiding this comment

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

if you do this why not define this to be the error string?
i.e. private static final String NULL_VALUE = SQLServerException.getErrString("R_NullValue");

@peterbae peterbae merged commit 428f147 into microsoft:dev Jan 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Closed/Merged PRs
Development

Successfully merging this pull request may close these issues.

3 participants