Sebb created BCEL-265:
-------------------------

             Summary: Use AssertionError rather than RuntimeException for code 
that should not be reached
                 Key: BCEL-265
                 URL: https://issues.apache.org/jira/browse/BCEL-265
             Project: Commons BCEL
          Issue Type: Improvement
            Reporter: Sebb
            Priority: Minor


The code has plenty of checks for conditions that cannot be reached, e.g. 
default switch cases.

Many of these use RuntimeException, it would make more sense to use 
AssertionError instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to