Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
after discussion with mohitsabharwal,xuefuz,praveenr019, kexianda:
now we use following rule about the package import order in files under pig/src/org/apache/pig/backend/hadoop/executionengine/spark:
1. java.* and javax.*
2. blank line
3. scala.*
4. blank line
5. Project classes (org.apache.*)
6. blank line
7. Third party libraries (org., com., etc.)
If you use IntelliJ as your IDE, you can reference the attachment to configure your import layout of your java code style:
1. Use IntelliJ
2. Select “File”>”Settings”>”Code Style”>”Java”>”Imports”->”Import
Layout”
Now the files under pig/src/org/apache/pig/backend/hadoop/executionengine/spark has different package import order. They should be in the same order.