You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Paul Benedict (JIRA)" <ji...@apache.org> on 2009/12/01 06:30:20 UTC
[jira] Created: (LANG-559) New Validate utility methods
New Validate utility methods
----------------------------
Key: LANG-559
URL: https://issues.apache.org/jira/browse/LANG-559
Project: Commons Lang
Issue Type: New Feature
Reporter: Paul Benedict
Assignee: Paul Benedict
Fix For: 3.0
Methods for consideration:
* isInstanceOf(Class<?> type, Object o);
* isAssignable(Class<?> superType, Class<?> subType);
* state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (LANG-559) New Validate utility methods
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell closed LANG-559.
------------------------------
Resolution: Fixed
Patch applied with change of name to isAssignableFrom.
> New Validate utility methods
> ----------------------------
>
> Key: LANG-559
> URL: https://issues.apache.org/jira/browse/LANG-559
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Fix For: 3.0
>
> Attachments: LANG_559.diff
>
>
> Methods for consideration:
> * isInstanceOf(Class<?> type, Object o);
> * isAssignable(Class<?> superType, Class<?> subType);
> * state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-559) New Validate utility methods
Posted by "Valentin Rocher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828584#action_12828584 ]
Valentin Rocher commented on LANG-559:
--------------------------------------
I have a problem with this one : I've done the isInstance and isAssignable, but I don't know which exception to throw...I was thinking about IllegalClassException, but it seems to have disappeared from LANG, so I think there's a good reason...Any help ?
> New Validate utility methods
> ----------------------------
>
> Key: LANG-559
> URL: https://issues.apache.org/jira/browse/LANG-559
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Fix For: 3.0
>
>
> Methods for consideration:
> * isInstanceOf(Class<?> type, Object o);
> * isAssignable(Class<?> superType, Class<?> subType);
> * state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (LANG-559) New Validate utility methods
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Henri Yandell reopened LANG-559:
--------------------------------
> New Validate utility methods
> ----------------------------
>
> Key: LANG-559
> URL: https://issues.apache.org/jira/browse/LANG-559
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Fix For: 3.0
>
>
> Methods for consideration:
> * isInstanceOf(Class<?> type, Object o);
> * isAssignable(Class<?> superType, Class<?> subType);
> * state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-559) New Validate utility methods
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12828988#action_12828988 ]
Henri Yandell commented on LANG-559:
------------------------------------
Go with IllegalArgumentException. It was the parent class of IllegalClassException.
> New Validate utility methods
> ----------------------------
>
> Key: LANG-559
> URL: https://issues.apache.org/jira/browse/LANG-559
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Fix For: 3.0
>
>
> Methods for consideration:
> * isInstanceOf(Class<?> type, Object o);
> * isAssignable(Class<?> superType, Class<?> subType);
> * state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (LANG-559) New Validate utility methods
Posted by "Valentin Rocher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Rocher updated LANG-559:
---------------------------------
Attachment: LANG_559.diff
Attached patch with tests
> New Validate utility methods
> ----------------------------
>
> Key: LANG-559
> URL: https://issues.apache.org/jira/browse/LANG-559
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Fix For: 3.0
>
> Attachments: LANG_559.diff
>
>
> Methods for consideration:
> * isInstanceOf(Class<?> type, Object o);
> * isAssignable(Class<?> superType, Class<?> subType);
> * state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (LANG-559) New Validate utility methods
Posted by "Henri Yandell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LANG-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12830656#action_12830656 ]
Henri Yandell commented on LANG-559:
------------------------------------
Patch looks good. Does this match your thoughts Paul?
Should it be isAssignableFrom instead of isAssignable?
> New Validate utility methods
> ----------------------------
>
> Key: LANG-559
> URL: https://issues.apache.org/jira/browse/LANG-559
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.*
> Reporter: Paul Benedict
> Assignee: Paul Benedict
> Fix For: 3.0
>
> Attachments: LANG_559.diff
>
>
> Methods for consideration:
> * isInstanceOf(Class<?> type, Object o);
> * isAssignable(Class<?> superType, Class<?> subType);
> * state(boolean condition);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.