You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hankó Gergely (Jira)" <ji...@apache.org> on 2019/09/13 13:26:00 UTC

[jira] [Assigned] (HIVE-22202) Remove unnecessary code from ObjectStore.java

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

Hankó Gergely reassigned HIVE-22202:
------------------------------------


> 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)