You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Mario Ivankovits (JIRA)" <ji...@apache.org> on 2007/05/14 15:33:16 UTC
[jira] Resolved: (VFS-138) Fix ClassCastException in
AbstractFileName
[ https://issues.apache.org/jira/browse/VFS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Ivankovits resolved VFS-138.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.1
Applied - Thanks for the patch!
> Fix ClassCastException in AbstractFileName
> ------------------------------------------
>
> Key: VFS-138
> URL: https://issues.apache.org/jira/browse/VFS-138
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 1.1
> Reporter: Adam Heath
> Fix For: 1.1
>
> Attachments: fix_AbstractFileName-equals-ClassCastException.patch
>
>
> The contract for equals doesn't allow you to throw a ClassCastException. So, add an instanceof comparison.
--
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org