Skip to content

Comments

Fix | Changes after 9.2.0 static analysis#1498

Merged
peterbae merged 9 commits intomicrosoft:devfrom
rene-ye:sonarQube920
Jan 25, 2021
Merged

Fix | Changes after 9.2.0 static analysis#1498
peterbae merged 9 commits intomicrosoft:devfrom
rene-ye:sonarQube920

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
*/
@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