[ 
https://issues.apache.org/jira/browse/AMBARI-19149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15742460#comment-15742460
 ] 

Hudson commented on AMBARI-19149:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #6210 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/6210/])
AMBARI-19149. Code cleanup: fallthrough (Attila Doroszlai via oleewere) 
(oleewere: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=076ed757b83a5d6907f7239f6de1334c81aeecc7])
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/stack/ConfigurationDirectory.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/State.java
* (edit) 
ambari-server/src/test/java/org/apache/ambari/server/agent/TestActionQueue.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/orm/DBAccessorImpl.java
* (edit) 
ambari-server/src/main/java/org/apache/ambari/server/audit/request/eventcreator/UserEventCreator.java
* (edit) ambari-server/checkstyle.xml


> Clean up Ambari Server source code warnings
> -------------------------------------------
>
>                 Key: AMBARI-19149
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19149
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-19149-1.patch, IDEA_Ambari_v1.xml
>
>
> Eclipse's default warnings generated for {{ambari-server}} number roughly 
> over 3300. Out of these, at least half of them are:
> * Unused imports
> * Type safety due to forgotten {{<>}}
> * Missing Serialization IDs from anonymous {{HashMap}} implementations
> * Unused variables
> * {{Capture<T>}} in tests
> * {{switch}} fall-through and missing {{case statements}}: *only makes 
> changes which won't affect existing functionality*
> This makes spotting actual problems, like missing {{case}} statements a 
> nightmare. We need to go through and clean out as many of these warnings as 
> possible. 
> Note: With respect to the import cleanup, the IDE of choice should have the 
> following import order setup. They should always be expanded and never use 
> {{*}}.
> # {{java}}
> # {{javax}}
> # {{org}}
> # {{com}}
> # other



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to