sunjincheng121 commented on a change in pull request #2684:
URL: https://github.com/apache/iotdb/pull/2684#discussion_r578164243
##########
File path: pom.xml
##########
@@ -598,6 +599,34 @@
</excludes>
</configuration>
</plugin>
+ <plugin>
+ <groupId>com.diffplug.spotless</groupId>
+ <artifactId>spotless-maven-plugin</artifactId>
+ <version>${spotless.version}</version>
+ <configuration>
+ <java>
+ <googleJavaFormat>
+ <version>1.7</version>
+ <style>GOOGLE</style>
+ </googleJavaFormat>
+
+ <importOrder>
+ <order>org.apache.iotdb,,javax,java,\#</order>
Review comment:
This affects the order in which packages are imported.
```
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.apache.commons.io.FileUtils;
```
vs
```
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
```
We are in the latter order at present. :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]