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
Crjvm205 #122
base: main
Are you sure you want to change the base?
Crjvm205 #122
Changes from 42 commits
8969840
5d3d380
bda60fe
36cef91
0bdc73d
2ed3514
1d68d3f
7409bc6
2341685
580dc34
d64c35b
50fe804
d87da8c
6619a8f
2187338
ef11e33
c4f8f0c
782e39f
6e9fee7
4188277
c2983a4
58055ab
08f8145
7fa808c
44b9e80
a5c0fb0
d3f2024
eeaaadc
bb43a16
071d082
06d2e10
34be768
2bf8921
2c8e50d
8f978ea
a798cab
bdcf8ea
ed6b6c4
55677d7
94fde4d
5dd3483
3785981
ba397b1
04d5ec7
beee006
ad66c3d
a8e886a
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.
there is a new way to declare configuration of one rule : please see other rules as example
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.
did you check if null pointer could be raised here ?
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.
After searching, ModifiersTree is not annotated @nullable. Accessing annotations by this interface method is normally safe, so no intermediate checks are required.
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.
here, no need to give
arguments
as input parameter because it already is present insideannotationTree
input parameterThere 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.
now, it isn't the good way to declare rule properties but inside
ecocode-rules-specifications
(please see another rule as example)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 don't you give all use cases in a single file ? why several test files ?
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.
please as a new use case with default value for fetch keywork (thus, without "fetch" variable assigned)
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.
please dont use suffix "Test" for POJO classes to not confuse with Unit Test class
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.
please dont use suffix "Test" for POJO classes to not confuse with Unit Test class
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.
maybe value has to be changed. to recheck locally, please