commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-245) FileName interface says that it is immutable, however AbstractFileName.setType(FileType type) flouts this rule
Date Tue, 17 Mar 2009 16:42:50 GMT

    [ https://issues.apache.org/jira/browse/VFS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682717#action_12682717
] 

Sebb commented on VFS-245:
--------------------------

Since FileType is used in equals() and hashCode() this could cause serious problems.

> FileName interface says that it is immutable, however AbstractFileName.setType(FileType
type) flouts this rule
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: VFS-245
>                 URL: https://issues.apache.org/jira/browse/VFS-245
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Sebb
>
> FileName interface says that it is immutable, however AbstractFileName.setType(FileType
type) flouts this rule.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message