[
https://issues.apache.org/jira/browse/HDDS-2473?focusedWorklogId=343136&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-343136
]
ASF GitHub Bot logged work on HDDS-2473:
----------------------------------------
Author: ASF GitHub Bot
Created on: 14/Nov/19 05:24
Start Date: 14/Nov/19 05:24
Worklog Time Spent: 10m
Work Description: avijayanhwx commented on pull request #162: HDDS-2473.
Fix code reliability issues found by Sonar in Ozone Recon module.
URL: https://github.com/apache/hadoop-ozone/pull/162
## What changes were proposed in this pull request?
Sonarcloud.io has flagged a number of code reliability issues in Ozone recon
(https://sonarcloud.io/code?id=hadoop-ozone&selected=hadoop-ozone%3Ahadoop-ozone%2Frecon%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhadoop%2Fozone%2Frecon).
Following issues have been fixed.
- Double Brace Initialization should not be used
- Resources should be closed
- InterruptedException should not be ignored
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2473
## How was this patch tested?
Ran unit tests in 'recon' module.
----------------------------------------------------------------
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: 343136)
Remaining Estimate: 0h
Time Spent: 10m
> Fix code reliability issues found by Sonar in Ozone Recon module.
> -----------------------------------------------------------------
>
> Key: HDDS-2473
> URL: https://issues.apache.org/jira/browse/HDDS-2473
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Recon
> Affects Versions: 0.5.0
> Reporter: Aravindan Vijayan
> Assignee: Aravindan Vijayan
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> sonarcloud.io has flagged a number of code reliability issues in Ozone recon
> (https://sonarcloud.io/code?id=hadoop-ozone&selected=hadoop-ozone%3Ahadoop-ozone%2Frecon%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fhadoop%2Fozone%2Frecon).
> Following issues will be triaged / fixed.
> * Double Brace Initialization should not be used
> * Resources should be closed
> * InterruptedException should not be ignored
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]