<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Duplication in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124123#M87351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank u fred..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will this be resolved/hash is the only way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 10:52:47 GMT</pubDate>
    <dc:creator>c_arunrathnakum</dc:creator>
    <dc:date>2013-04-03T10:52:47Z</dc:date>
    <item>
      <title>Duplication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124119#M87347</link>
      <description>Hi,I m currently facing this problem. Please let me know whether the approach is correct or not.I have 2 lists of tasks:list1 has tasks : {Task[1001],Task[1002],Task[1003],Task[1004]}list2 has tasks : {Task[1005],Task[1006],Task[1001],Task[1002]}I m adding list1 to list2 : list2.addAll(list1)Now lis</description>
      <pubDate>Wed, 03 Apr 2013 06:48:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124119#M87347</guid>
      <dc:creator>c_arunrathnakum</dc:creator>
      <dc:date>2013-04-03T06:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: Duplication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124120#M87348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I suggest you to test with == whatever you think duplicate. I think both &lt;/SPAN&gt;&lt;STRONG&gt;Task[1001]&lt;/STRONG&gt;&lt;SPAN&gt; tasks are not same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 07:07:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124120#M87348</guid>
      <dc:creator>gokceng1</dc:creator>
      <dc:date>2013-04-03T07:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Duplication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124121#M87349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How come it wont be same? I m picking them from the same table.. When i try to print the hashcode, they are different.. Is this an issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 07:37:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124121#M87349</guid>
      <dc:creator>c_arunrathnakum</dc:creator>
      <dc:date>2013-04-03T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Duplication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124122#M87350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You're picking them from the same table BUT they are fetched from a different activiti-context (each API-call builds up context with internal cache of entities). So the second entity returned is a different object. The equals and hash code aren't overridden, so it makes sense they are not equal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As an alternative, use a hash map with key=id, value=task and make the put(..) conditional, based on whether or not the map already contains the task-id.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 08:59:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124122#M87350</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-03T08:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Duplication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124123#M87351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank u fred..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will this be resolved/hash is the only way?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 10:52:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124123#M87351</guid>
      <dc:creator>c_arunrathnakum</dc:creator>
      <dc:date>2013-04-03T10:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Duplication</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124124#M87352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We're not planning on implementing the equals/hashcode on the entities for now, so this is the only way around this problem…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 11:45:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/duplication/m-p/124124#M87352</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-03T11:45:29Z</dc:date>
    </item>
  </channel>
</rss>

