directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSTUDIO-426) Overwritten hashCode() method should not use super.hashCode()
Date Fri, 27 Mar 2009 14:04:50 GMT

     [ https://issues.apache.org/jira/browse/DIRSTUDIO-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre-Arnaud Marcelot closed DIRSTUDIO-426.
--------------------------------------------

    Resolution: Invalid

We've reviewed it again with Stefan and this JIRA does not make sense.

I was probably tired when I wrote it.

Let's close it.

> Overwritten hashCode() method should not use super.hashCode()
> -------------------------------------------------------------
>
>                 Key: DIRSTUDIO-426
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-426
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-ldapbrowser, studio-schemaeditor
>    Affects Versions: 1.3.0
>            Reporter: Pierre-Arnaud Marcelot
>            Assignee: Pierre-Arnaud Marcelot
>             Fix For: 1.4.0
>
>
> Overwritten hashCode() method should not use super.hashCode() because it can cause issues
if two objects are equals but does not have the same hashCode.
> This problem impacts the following classes:
>     * /ldapbrowser.core/src/main/java/org/apache/directory/studio/ldapbrowser/core/model/StudioPagedResultsControl.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/AttributeTypeWrapper.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/Folder.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/ObjectClassWrapper.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/ProjectWrapper.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/SchemaErrorWrapper.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/SchemaWarningWrapper.java
>     * /schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wrappers/SchemaWrapper.java

-- 
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