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

Mikhail Mazursky updated ONAMI-28:
----------------------------------

    Attachment: ONAMI-28-IAE.patch

Yes, i use preconditions too and i prefer NPE over IAE in such cases. But 
here's the IAE patch anyway =)

p.s. here is what Guavians think about this 
https://groups.google.com/forum/#!topic/guava-discuss/X2dJhNhpIP4 (also take a 
look at stackoverflow link there)

                
> Do not use code from com.google.inject.internal
> -----------------------------------------------
>
>                 Key: ONAMI-28
>                 URL: https://issues.apache.org/jira/browse/ONAMI-28
>             Project: Apache Onami
>          Issue Type: Bug
>          Components: lifecycle
>    Affects Versions: lifecycle-0.2
>            Reporter: Mikhail Mazursky
>            Priority: Blocker
>         Attachments: ONAMI-28-IAE.patch, ONAMI-28.patch
>
>
> 1. Those classes are internals and are subject to change (not a public 
> API/SPI);
> 2. Guice do not export those packages in manifest so it will not resolve 
> under OSGi.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to