[ https://issues.apache.org/jira/browse/PIG-4604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang resolved PIG-4604. ------------------------------ Resolution: Fixed Committed to Spark branch. Thanks, Liyun! > Clean up: refactor the package import order in the files under > pig/src/org/apache/pig/backend/hadoop/executionengine/spark according to > certain rule > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: PIG-4604 > URL: https://issues.apache.org/jira/browse/PIG-4604 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: liyunzhang_intel > Assignee: liyunzhang_intel > Fix For: spark-branch > > Attachments: IntelliJ_Java_codeStyle_Imports1.png, > IntelliJ_Java_codeStyle_Imports2.png, PIG-4604.patch > > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)