[ 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to