You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Adam Heath (JIRA)" <ji...@apache.org> on 2007/05/14 15:17:16 UTC
[jira] Updated: (VFS-138) Fix ClassCastException in
AbstractFileName
[ https://issues.apache.org/jira/browse/VFS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Heath updated VFS-138:
---------------------------
Attachment: fix_AbstractFileName-equals-ClassCastException.patch
Against svn 501759.
> 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
> 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