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

Work on HIVE-22202 started by Hankó Gergely.
--------------------------------------------
> Remove unnecessary code from ObjectStore.java
> ---------------------------------------------
>
>                 Key: HIVE-22202
>                 URL: https://issues.apache.org/jira/browse/HIVE-22202
>             Project: Hive
>          Issue Type: Task
>          Components: Hive
>            Reporter: Hankó Gergely
>            Assignee: Hankó Gergely
>            Priority: Minor
>
> Remove unnecessary code
>  * remove unnecessary/unused variables
>  * remove unused private methods
>  * remove unnecessary throws declarations
>  * remove unnecessary conditionals that are guaranteed to always give the 
> same result
>  * remove unnecessary method parameters
>  * remove never used return values
>  * simplify collection handling
>  * use foreach where possible
>  * use member sort() instead of Collections.sort()
>  * use addAll() instead of adding one-by-one in a loop
>  * remove Javadoc that doesn't give additional information
>  * use try with resource where possible
>  * remove unnecessary explicit type arguments
>  * remove redundant warning suppression



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to