[
https://issues.apache.org/jira/browse/HDDS-2500?focusedWorklogId=344491&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-344491
]
ASF GitHub Bot logged work on HDDS-2500:
----------------------------------------
Author: ASF GitHub Bot
Created on: 15/Nov/19 19:08
Start Date: 15/Nov/19 19:08
Worklog Time Spent: 10m
Work Description: insideo commented on pull request #186: HDDS-2500.
Avoid fall-through in CloseContainerCommandHandler
URL: https://github.com/apache/hadoop-ozone/pull/186
## What changes were proposed in this pull request?
Added explicit break statements to avoid fallthrough warnings.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2500
## How was this patch tested?
Ran local tests + rat / 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: 344491)
Remaining Estimate: 0h
Time Spent: 10m
> Avoid fall-through in CloseContainerCommandHandler
> --------------------------------------------------
>
> Key: HDDS-2500
> URL: https://issues.apache.org/jira/browse/HDDS-2500
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Datanode
> Reporter: Attila Doroszlai
> Assignee: Craig Condit
> Priority: Minor
> Labels: pull-request-available, sonar
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Two instances of fall-through:
> *
> https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-7UKcVY8lQ4ZsRk&open=AW5md-7UKcVY8lQ4ZsRk
> *
> https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-7UKcVY8lQ4ZsRj&open=AW5md-7UKcVY8lQ4ZsRj
> Both seem OK, but unnecessary (the next branch is {{break}}-only). Could be
> made more explicit by moving/adding {{break}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]