Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: first draft of Infrastructure API and related models #407
feat: first draft of Infrastructure API and related models #407
Changes from 15 commits
de27e9d
1d12ff6
83550d0
054bc1b
778fecd
f8ff9b5
0365b0f
e989515
f9cb990
c105624
554616e
49ab8a0
733db73
000a32d
6d24925
81a6f18
ec41dd1
8793437
5c84a7b
d90c3bb
3c72b56
3f5677a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
ℹ️ Codacy found a minor Code Style issue: Line is longer than 80 characters (found 115).
The issue identified by Checkstyle is that the line of code exceeds the maximum preferred line length of 80 characters, which is a common code style guideline to improve readability. Long lines of code can be difficult to read, especially in environments with limited screen space or when viewing multiple files side by side.
To fix this issue, you can break the long comment line into two or more lines, ensuring that each line does not exceed 80 characters. Here's how you can modify the comment:
By splitting the comment into two lines, each line now adheres to the 80-character limit, which should resolve the Checkstyle warning for line length.
This comment was generated by an experimental AI tool.
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.
Needs to most likely be a singleton and therefore may be better served as a concrete final class which uses a ServiceLocator implementation to load the provider.
Another option would be to use the enum singleton pattern recommended by Joshua Bloch in his book Effective Java.
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.
ℹ️ Codacy found a minor Code Style issue: Line is longer than 80 characters (found 102).
The code provided contains a method signature that exceeds the 80-character line length limit enforced by the Checkstyle linter. This is a common code style guideline meant to improve readability and maintainability of the code, especially on smaller screens or when viewing multiple files side by side.
To fix this issue, you can break the line into multiple lines. Here's an example of how you might format the method to comply with the 80-character limit:
By breaking the line after the
configure(
, you ensure that each line stays within the 80-character limit. You might also consider renaming the parameter to a shorter name if it's still too long, or if the context allows for it without losing clarity.Here's the code suggestion with a shorter parameter name:
Remember to update the Javadoc comments accordingly if you change the parameter name.
This comment was generated by an experimental AI tool.