[ 
https://issues.apache.org/jira/browse/HDDS-2503?focusedWorklogId=344138&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-344138
 ]

ASF GitHub Bot logged work on HDDS-2503:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Nov/19 10:39
            Start Date: 15/Nov/19 10:39
    Worklog Time Spent: 10m 
      Work Description: adoroszlai commented on pull request #181: HDDS-2503. 
Close FlushOptions in RDBStore
URL: https://github.com/apache/hadoop-ozone/pull/181
 
 
   ## What changes were proposed in this pull request?
   
   Close FlushOptions in RDBStore after use.  Also fix other code issues 
reported by Sonar:
   
    * Use `<>` in instantiation
    * Use `isEmpty()`
    * Use `HashMap`, not `Hashtable`
    * Rename generic arguments to single-letter
    * Handle _or_ log exception, not both
   
   https://issues.apache.org/jira/browse/HDDS-2503
   
   ## How was this patch tested?
   
   Unit test (`TestRDBStore`), checkstyle.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 344138)
    Remaining Estimate: 0h
            Time Spent: 10m

> Close FlushOptions in RDBStore
> ------------------------------
>
>                 Key: HDDS-2503
>                 URL: https://issues.apache.org/jira/browse/HDDS-2503
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available, sonar
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {{FlushOptions}} should be closed after use.
> * 
> https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-zwKcVY8lQ4ZsJ4&open=AW5md-zwKcVY8lQ4ZsJ4
> * 
> https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-zwKcVY8lQ4ZsJ5&open=AW5md-zwKcVY8lQ4ZsJ5
> Sonar also reported 15 further issues in the same file:
> https://sonarcloud.io/project/issues?fileUuids=AW5md-HgKcVY8lQ4Zrga&id=hadoop-ozone&resolved=false



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to