You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2019/11/14 16:07:00 UTC

[jira] [Created] (HDDS-2483) Avoid fall-through in HddsUtils#getBlockID

Attila Doroszlai created HDDS-2483:
--------------------------------------

             Summary: Avoid fall-through in HddsUtils#getBlockID
                 Key: HDDS-2483
                 URL: https://issues.apache.org/jira/browse/HDDS-2483
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Attila Doroszlai


{{switch}} in {{HddsUtils#getBlockID}} has potential fall-through.  It should be handled explicitly (eg. throw exception or {{return null}}).

* https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-4qKcVY8lQ4ZsPe&open=AW5md-4qKcVY8lQ4ZsPe
* https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-4qKcVY8lQ4ZsPe&open=AW5md-4qKcVY8lQ4ZsPf
* https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-4qKcVY8lQ4ZsPe&open=AW5md-4qKcVY8lQ4ZsPg
* https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-4qKcVY8lQ4ZsPe&open=AW5md-4qKcVY8lQ4ZsPh
* https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-4qKcVY8lQ4ZsPe&open=AW5md-4qKcVY8lQ4ZsPi
* https://sonarcloud.io/project/issues?id=hadoop-ozone&issues=AW5md-4qKcVY8lQ4ZsPj&open=AW5md-4qKcVY8lQ4ZsPj



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org