You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org> on 2007/05/14 13:29:16 UTC
[jira] Resolved: (JAXME-92) JavaSource has at least two NPE sources
[ https://issues.apache.org/jira/browse/JAXME-92?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jochen Wiedmann resolved JAXME-92.
----------------------------------
Resolution: Won't Fix
This is obviously a matter of programming style and taste. The JavaJS framework is following a strict approach, where the user is responsible for passing meaningful parameters. Null isn't a meaningful parameter.
> JavaSource has at least two NPE sources
> ---------------------------------------
>
> Key: JAXME-92
> URL: https://issues.apache.org/jira/browse/JAXME-92
> Project: JaxMe
> Issue Type: Bug
> Components: JaxMeJS
> Affects Versions: 0.5
> Environment: GNU/Linux 2.6.18-3-686
> java-1.5.0-sun-1.5.0.10
> Reporter: Marcel Patzlaff
> Priority: Minor
>
> The JavaSource methods "isImplementing(Class pClass)" and "isExtending(Class pClass)" should be protected against NPEs.
> They just have to return null if the requested fields ("myImplements" or"extendedClasses") are null-references.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org