You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Dinesh Chitlangia (Jira)" <ji...@apache.org> on 2019/11/15 22:27:00 UTC

[jira] [Resolved] (HDDS-2500) Avoid fall-through in CloseContainerCommandHandler

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

Dinesh Chitlangia resolved HDDS-2500.
-------------------------------------
    Fix Version/s: 0.5.0
       Resolution: Fixed

Thanks [~ccondit] for the fix, thanks [~adoroszlai] for reporting the issue and reviewing the patch.

> 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
>             Fix For: 0.5.0
>
>          Time Spent: 20m
>  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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org