commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Heath (JIRA)" <j...@apache.org>
Subject [jira] Updated: (VFS-138) Fix ClassCastException in AbstractFileName
Date Mon, 14 May 2007 13:17:16 GMT

     [ 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


Mime
View raw message