Automated source code cleanup ----------------------------- Key: HIVE-1081 URL: https://issues.apache.org/jira/browse/HIVE-1081 Project: Hadoop Hive Issue Type: Task Reporter: Carl Steinbach Assignee: Carl Steinbach Attachments: cleanup-cli.patch, cleanup-common.patch, cleanup-contrib-test.patch, cleanup-contrib.patch, cleanup-hwi-test.patch, cleanup-hwi.patch
Reduce the number of Checkstyle violations by applying Eclipse's automated cleanup tools to the Hive code base: * Correct indentation * Remove trailing white spaces on all lines * Format source code * Organize imports * Remove unnecessary casts * Add missing '@Deprecated' annotations * Add missing '@Override' annotations * Remove unused ** local variables ** private fields ** private types ** private constructors ** private methods ** imports * Add final modifier to ** local variables (if applicable) ** private fields (if applicable) * Convert for loops to enhanced for loops * Convert control statement bodies to block * Remove 'this' qualifier for non-static method accesses. * Remove 'this' qualifier for non-static field accesses. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.