jackylee-ch commented on code in PR #15676:
URL: https://github.com/apache/iceberg/pull/15676#discussion_r2963626872


##########
site/docs/contribute.md:
##########
@@ -303,6 +304,12 @@ In order to automatically fix Java code style issues, 
please use `./gradlew spot
 since that version is compatible with JDK 8. When formatting the code in the 
IDE, there is a slight chance that it will produce slightly different results. 
In such a case please run `./gradlew spotlessApply`
 as CI will check the style against **google-java-format** 1.7.
 
+For Scala code, unused imports are treated as compilation errors. To 
automatically remove unused imports, run 
[Scalafix](https://scalacenter.github.io/scalafix/):
+
+```bash
+./gradlew scalafix -DsparkVersions=4.0 -DscalaVersion=2.13

Review Comment:
   Yes, it works.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to