-
Notifications
You must be signed in to change notification settings - Fork 58
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
[#864] Undid Constant Name Rule In Checkstyles XML and Applied Formatting/Changes to HIRS_UTILS #865
[#864] Undid Constant Name Rule In Checkstyles XML and Applied Formatting/Changes to HIRS_UTILS #865
Conversation
…le. Applied checkstyle changes to entire HIRS_UTILS module
@@ -78,83 +78,83 @@ public final class SwidTagConstants { | |||
public static final String FX_SEPARATOR = ":"; | |||
public static final String RFC3852_PFX = "rcf3852"; | |||
public static final String RFC3339_PFX = "rcf3339"; | |||
public static final String _COLLOQUIAL_VERSION_STR = N8060_PFX + FX_SEPARATOR | |||
public static final String COLLOQUIAL_VERSION_STR = N8060_PFX + FX_SEPARATOR |
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.
This was the only file that failed the checkstyle guidelines (after I changed the constant name module)
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.
The gradle build succeeded but I got a lot of ant:checkstyle warnings, is that supposed to happen?
Yes, that is supposed to happen. When you run the check command on the HIRS_UTILS module, there should be no checkstyle warnings. Because none of the other PR's for checkstyle warnings have been merged into main as of yet, you are still going to get checkstyle warnings for all the other modules when you try to build the entire application. |
Description
I recently modified one of the modules in checkstyles.xml to ignore checks for Java constants that begin with an underscore. However, after further research and discussions with my colleagues, I believe we should revert this rule and instead update the Java constants to align with recommended Java guidelines. This change will help maintain code consistency and adherence to best practices. Apply the new changes to the entire HIRS_UTILS module.
Other Changes You Might Have Noticed:
Asides from undoing one of the checkstyle modules in the checkstyles.xml file, I also "lombok-ed" a lot of java files in the UTILS files and a good portion of the files in the HIRS_UTILS module were formatted according to checkstyles guidelines.
Test Instructions:
./gradlew clean HIRS_UTILS:check --rerun-tasks
in your terminal window to verify there are no checkstyle errors../gradlew clean build --rerun-tasks
in your terminal window to verify there are no build errors.Issues this PR addresses:
Closes issue #864