[jira] [Updated] (SLING-4427) Inneficient JcrNode.hashCode and equals
[ https://issues.apache.org/jira/browse/SLING-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4427: --- Fix Version/s: (was: Sling Eclipse IDE 1.2.2) Sling Eclipse IDE 1.2.4 > Inneficient JcrNode.hashCode and equals > --- > > Key: SLING-4427 > URL: https://issues.apache.org/jira/browse/SLING-4427 > Project: Sling > Issue Type: Bug > Components: IDE >Affects Versions: Sling Eclipse IDE 1.0.4 >Reporter: Robert Munteanu >Priority: Major > Fix For: Sling Eclipse IDE 1.2.4 > > > On certain paths, JcrNode equals and hashcode perform copies of the their > domElement, manipulate them and use them for equals/hashCode computations, > e.g. > {code:java} Element domElementCopy = domElement.copy(); > domElementCopy.clearChildren(); > Element otherDomElementCopy = other.domElement.copy(); > otherDomElementCopy.clearChildren(); > return > domElementCopy.toString().equals(otherDomElementCopy.toString());{code} > This has the potential to be quite expensive and should be corrected -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (SLING-4427) Inneficient JcrNode.hashCode and equals
[ https://issues.apache.org/jira/browse/SLING-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4427: --- Fix Version/s: (was: Sling Eclipse IDE 1.2.0) Sling Eclipse IDE 1.2.2 > Inneficient JcrNode.hashCode and equals > --- > > Key: SLING-4427 > URL: https://issues.apache.org/jira/browse/SLING-4427 > Project: Sling > Issue Type: Bug > Components: IDE >Affects Versions: Sling Eclipse IDE 1.0.4 >Reporter: Robert Munteanu >Priority: Major > Fix For: Sling Eclipse IDE 1.2.2 > > > On certain paths, JcrNode equals and hashcode perform copies of the their > domElement, manipulate them and use them for equals/hashCode computations, > e.g. > {code:java} Element domElementCopy = domElement.copy(); > domElementCopy.clearChildren(); > Element otherDomElementCopy = other.domElement.copy(); > otherDomElementCopy.clearChildren(); > return > domElementCopy.toString().equals(otherDomElementCopy.toString());{code} > This has the potential to be quite expensive and should be corrected -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (SLING-4427) Inneficient JcrNode.hashCode and equals
[ https://issues.apache.org/jira/browse/SLING-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4427: --- Fix Version/s: (was: Sling Eclipse IDE 1.1.0) Sling Eclipse IDE 1.1.2 > Inneficient JcrNode.hashCode and equals > --- > > Key: SLING-4427 > URL: https://issues.apache.org/jira/browse/SLING-4427 > Project: Sling > Issue Type: Bug > Components: IDE >Affects Versions: Sling Eclipse IDE 1.0.4 >Reporter: Robert Munteanu > Fix For: Sling Eclipse IDE 1.1.2 > > > On certain paths, JcrNode equals and hashcode perform copies of the their > domElement, manipulate them and use them for equals/hashCode computations, > e.g. > {code:java} Element domElementCopy = domElement.copy(); > domElementCopy.clearChildren(); > Element otherDomElementCopy = other.domElement.copy(); > otherDomElementCopy.clearChildren(); > return > domElementCopy.toString().equals(otherDomElementCopy.toString());{code} > This has the potential to be quite expensive and should be corrected -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4427) Inneficient JcrNode.hashCode and equals
[ https://issues.apache.org/jira/browse/SLING-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4427: --- Fix Version/s: (was: Sling Eclipse IDE 1.0.8) Sling Eclipse IDE 1.1.0 > Inneficient JcrNode.hashCode and equals > --- > > Key: SLING-4427 > URL: https://issues.apache.org/jira/browse/SLING-4427 > Project: Sling > Issue Type: Bug > Components: IDE >Affects Versions: Sling Eclipse IDE 1.0.4 >Reporter: Robert Munteanu > Fix For: Sling Eclipse IDE 1.1.0 > > > On certain paths, JcrNode equals and hashcode perform copies of the their > domElement, manipulate them and use them for equals/hashCode computations, > e.g. > {code:java} Element domElementCopy = domElement.copy(); > domElementCopy.clearChildren(); > Element otherDomElementCopy = other.domElement.copy(); > otherDomElementCopy.clearChildren(); > return > domElementCopy.toString().equals(otherDomElementCopy.toString());{code} > This has the potential to be quite expensive and should be corrected -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4427) Inneficient JcrNode.hashCode and equals
[ https://issues.apache.org/jira/browse/SLING-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4427: --- Assignee: (was: Robert Munteanu) > Inneficient JcrNode.hashCode and equals > --- > > Key: SLING-4427 > URL: https://issues.apache.org/jira/browse/SLING-4427 > Project: Sling > Issue Type: Bug > Components: IDE >Affects Versions: Sling Eclipse IDE 1.0.4 >Reporter: Robert Munteanu > Fix For: Sling Eclipse IDE 1.0.8 > > > On certain paths, JcrNode equals and hashcode perform copies of the their > domElement, manipulate them and use them for equals/hashCode computations, > e.g. > {code:java} Element domElementCopy = domElement.copy(); > domElementCopy.clearChildren(); > Element otherDomElementCopy = other.domElement.copy(); > otherDomElementCopy.clearChildren(); > return > domElementCopy.toString().equals(otherDomElementCopy.toString());{code} > This has the potential to be quite expensive and should be corrected -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4427) Inneficient JcrNode.hashCode and equals
[ https://issues.apache.org/jira/browse/SLING-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Munteanu updated SLING-4427: --- Fix Version/s: (was: Sling Eclipse IDE 1.0.6) Sling Eclipse IDE 1.0.8 Inneficient JcrNode.hashCode and equals --- Key: SLING-4427 URL: https://issues.apache.org/jira/browse/SLING-4427 Project: Sling Issue Type: Bug Components: IDE Affects Versions: Sling Eclipse IDE 1.0.4 Reporter: Robert Munteanu Assignee: Robert Munteanu Fix For: Sling Eclipse IDE 1.0.8 On certain paths, JcrNode equals and hashcode perform copies of the their domElement, manipulate them and use them for equals/hashCode computations, e.g. {code:java} Element domElementCopy = domElement.copy(); domElementCopy.clearChildren(); Element otherDomElementCopy = other.domElement.copy(); otherDomElementCopy.clearChildren(); return domElementCopy.toString().equals(otherDomElementCopy.toString());{code} This has the potential to be quite expensive and should be corrected -- This message was sent by Atlassian JIRA (v6.3.4#6332)