You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Sergey Vladimirov (JIRA)" <ji...@apache.org> on 2010/06/13 19:56:13 UTC
[jira] Created: (FTPSERVER-375) [FindBugs] NativeFtpFile implements
equals(), but does not - hashCode()
[FindBugs] NativeFtpFile implements equals(), but does not - hashCode()
-----------------------------------------------------------------------
Key: FTPSERVER-375
URL: https://issues.apache.org/jira/browse/FTPSERVER-375
Project: FtpServer
Issue Type: Wish
Components: Core
Reporter: Sergey Vladimirov
Priority: Minor
Fix For: WISHLIST
In fact, i can't find why it need to implement equals() in first place. If for any map - then hashCode() will also be required. For example, this.file.getCanonicalFile().hashCode()
Anyway, could we please have a comment why do we need equals() method? :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-375) [FindBugs] NativeFtpFile implements
equals(), but does not - hashCode()
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-375:
----------------------------------------
Fix Version/s: 1.0.6
(was: 1.1.0)
(was: 1.0.5)
> [FindBugs] NativeFtpFile implements equals(), but does not - hashCode()
> -----------------------------------------------------------------------
>
> Key: FTPSERVER-375
> URL: https://issues.apache.org/jira/browse/FTPSERVER-375
> Project: FtpServer
> Issue Type: Wish
> Components: Core
> Reporter: Sergey Vladimirov
> Priority: Minor
> Fix For: 1.0.6
>
>
> In fact, i can't find why it need to implement equals() in first place. If for any map - then hashCode() will also be required. For example, this.file.getCanonicalFile().hashCode()
> Anyway, could we please have a comment why do we need equals() method? :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-375) [FindBugs] NativeFtpFile implements
equals(), but does not - hashCode()
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-375:
----------------------------------------
Fix Version/s: 1.1.0
> [FindBugs] NativeFtpFile implements equals(), but does not - hashCode()
> -----------------------------------------------------------------------
>
> Key: FTPSERVER-375
> URL: https://issues.apache.org/jira/browse/FTPSERVER-375
> Project: FtpServer
> Issue Type: Wish
> Components: Core
> Reporter: Sergey Vladimirov
> Priority: Minor
> Fix For: 1.0.6, 1.1.0
>
>
> In fact, i can't find why it need to implement equals() in first place. If for any map - then hashCode() will also be required. For example, this.file.getCanonicalFile().hashCode()
> Anyway, could we please have a comment why do we need equals() method? :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (FTPSERVER-375) [FindBugs] NativeFtpFile implements
equals(), but does not - hashCode()
Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FTPSERVER-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Gustavsson updated FTPSERVER-375:
----------------------------------------
Fix Version/s: 1.0.5
1.1.0
(was: WISHLIST)
> [FindBugs] NativeFtpFile implements equals(), but does not - hashCode()
> -----------------------------------------------------------------------
>
> Key: FTPSERVER-375
> URL: https://issues.apache.org/jira/browse/FTPSERVER-375
> Project: FtpServer
> Issue Type: Wish
> Components: Core
> Reporter: Sergey Vladimirov
> Priority: Minor
> Fix For: 1.0.5, 1.1.0
>
>
> In fact, i can't find why it need to implement equals() in first place. If for any map - then hashCode() will also be required. For example, this.file.getCanonicalFile().hashCode()
> Anyway, could we please have a comment why do we need equals() method? :)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.