yifan-c commented on PR #225:
URL: 
https://github.com/apache/cassandra-sidecar/pull/225#issuecomment-2993656687

   > So confused by this checkstyle failure, tried `./gradlew idea` then format 
through intellij, and reorder in different ways, still failed.
   > 
   > ```
   > > Task :server:checkstyleTest
   > [ant:checkstyle] [ERROR] 
/home/yuntong/repos/QFREEE/cassandra-sidecar/server/src/test/java/org/apache/cassandra/sidecar/handlers/NativeUpdateHandlerTest.java:54:
 Wrong order for 'org.junit.jupiter.api.Assertions.assertEquals' import. 
[ImportOrder]
   > [ant:checkstyle] [ERROR] 
/home/yuntong/repos/QFREEE/cassandra-sidecar/server/src/test/java/org/apache/cassandra/sidecar/handlers/GossipUpdateHandlerTest.java:56:
 Wrong order for 'org.junit.jupiter.api.Assertions.assertEquals' import. 
[ImportOrder]
   > ```
   
   Checkstyle config is not exactly the same for intellij. For this project, we 
can largely rely on auto-formatting in intellij, but if anything differs, we 
honor the checkstyle rules. For this specific error, could you manually edit 
the imports?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to