commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From netomi <...@git.apache.org>
Subject [GitHub] commons-lang pull request: Ability to throw checked exceptions wit...
Date Sat, 20 Jun 2015 10:10:03 GMT
Github user netomi commented on the pull request:

    https://github.com/apache/commons-lang/pull/98#issuecomment-113740935
  
    It works (if you can call it like that) by casting it to something this it isn't, which
results in a ClassCastException. As a ClassCastException is a RuntimeException everything
appears to be fine, but it is completely wrong.
    The referenced util in guava makes sense, and if you like to include it in commons, just
copy&paste it, but do not try to come up with a flawed version yourself.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message