ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Fernandez (JIRA)" <>
Subject [jira] [Created] (AMBARI-19395) rules
Date Fri, 06 Jan 2017 01:15:58 GMT
Alejandro Fernandez created AMBARI-19395:

             Summary: rules
                 Key: AMBARI-19395
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: trunk
            Reporter: Alejandro Fernandez
            Assignee: Alejandro Fernandez
             Fix For: trunk

Unit tests on Apache are failing because the checkstyle rules are too strict, especially when
it comes to imports.

Right now, it requires this, which I want to remove because it means that everyone has to
use an IDE and setup the same rules for something that is trivial at compile-time and actually
causes more headaches for developers.

    <module name="ImportOrder">
      <property name="groups" value="java,javax,org,com,*"/>
      <property name="ordered" value="true"/>
      <property name="separated" value="true"/>
      <property name="option" value="top"/> <!-- static imports -->
      <property name="sortStaticImportsAlphabetically" value="true"/>

This message was sent by Atlassian JIRA

View raw message