-
Notifications
You must be signed in to change notification settings - Fork 5
SK-2519: extract hard coded strings to constants and update linting r… #272
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
Changes from all commits
767fe7c
84cb6df
834b79e
cdde053
e31e590
4957bf1
d3d9d90
b2fc152
87d151b
01404e9
d4a542c
f517484
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
|
|
||
| import com.skyflow.utils.Constants; | ||
|
|
||
| @SuppressWarnings("checkstyle:MultipleStringLiterals") | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did we add SuppressWarnings annotation here ? What warnings are we suppressing ?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as the file constains strings, and checkstyle linter will catch them, so added SuppressWarnings to avoid it catching |
||
| public enum ErrorMessage { | ||
| // Client initialization | ||
| VaultIdAlreadyInConfigList("%s0 Validation error. VaultId is present in an existing config. Specify a new vaultId in config."), | ||
|
|
||
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 are we excluding logs ?
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.
as log constains strings, and checkstyle linter will catch them, so excluded logs to avoid it catching