ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doroszlai, Attila (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19868) Build fails on trunk because of import reordering as part of AMBARI-19810 check-in.
Date Fri, 03 Feb 2017 21:44:51 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-19868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doroszlai, Attila updated AMBARI-19868:
---------------------------------------
    Resolution: Done
        Status: Resolved  (was: Patch Available)

Nevermind, already fixed by [~mpapirkovskyy] in AMBARI-19799.

> Build fails on trunk because of import reordering as part of AMBARI-19810 check-in.
> -----------------------------------------------------------------------------------
>
>                 Key: AMBARI-19868
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19868
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: trunk
>            Reporter: Swapan Shridhar
>            Assignee: Swapan Shridhar
>            Priority: Blocker
>             Fix For: trunk
>
>         Attachments: AMBARI-19868.patch
>
>
> Error:
> {code}
> [INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ ambari-server ---
> [INFO] Starting audit...
> [ERROR] ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java:22:
Wrong order for 'org.apache.ambari.server.AmbariException' import. [ImportOrder]
> [ERROR] ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog250.java:37:
Wrong order for 'java.sql.ResultSet' import. [ImportOrder]
> [ERROR] ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java:29:
'junit.framework.AssertionFailedError' should be separated from previous imports. [ImportOrder]
> [ERROR] ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java:30:
Wrong order for 'org.apache.ambari.server.AmbariException' import. [ImportOrder]
> [ERROR] ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java:61:
Wrong order for 'javax.persistence.EntityManager' import. [ImportOrder]
> [ERROR] ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java:62:
Wrong order for 'java.lang.reflect.Method' import. [ImportOrder]
> [ERROR] ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog250Test.java:75:
Wrong order for 'org.easymock.EasyMock.anyObject' import. [ImportOrder]
> Audit done.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message