We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
null
JKube Kit
ContainerHandler seems to be returning a null value in a method with a list return type:
https://github.com/eclipse/jkube/blob/c4ee9d4e9432297c50d9385a8c06d1fea0f75e3a/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/handler/ContainerHandler.java#L184
Sonar flags this as a code smell. We should replace this with Collections.emptyList().
Collections.emptyList()
Expectations would also need to be updated in ContainerHandlerTest
ContainerHandler.getContainerPorts is updated to return a non null value
mvn clean install
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Component
JKube Kit
Task description
Description
ContainerHandler seems to be returning a null value in a method with a list return type:
https://github.com/eclipse/jkube/blob/c4ee9d4e9432297c50d9385a8c06d1fea0f75e3a/jkube-kit/enricher/api/src/main/java/org/eclipse/jkube/kit/enricher/handler/ContainerHandler.java#L184
Sonar flags this as a code smell. We should replace this with
Collections.emptyList()
.Expectations would also need to be updated in ContainerHandlerTest
Expected Behavior
ContainerHandler.getContainerPorts is updated to return a non null value
Acceptance Criteria
mvn clean install
The text was updated successfully, but these errors were encountered: