Skip to content

Conversation

@AragornIISOA
Copy link

-Fixed trailing spaces in line 34 of HelloAnyone.java
-Fixed unused import in HelloANyoneText.java
-Fixed lack of trailing blank line at end of HelloWorld.java

@@ -1,5 +1,4 @@
package metrocs;
import org.junit.jupiter.api.Test;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the "error" is pointing out a shortcoming that needs to be addressed.
We need to consider why the error exists and what it is telling us.
What's actually needed here--to "fix" the "Checkstyle error"--is for there to be an actual test in the file.
Removing the import only "hides" the fact that the test class has no actual tests.
(This is similar to a "TODO:" error which is again indicating that something needs to be added rather than taken away.)

@jody
Copy link
Owner

jody commented Mar 8, 2022

This PR doesn't specify which Issue is being addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants