chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1785677 - /chemistry/portcmis/trunk/PortCMIS/binding/atompub/AtomPubUtils.cs
Date Mon, 06 Mar 2017 16:03:54 GMT
Author: fmui
Date: Mon Mar  6 16:03:54 2017
New Revision: 1785677

URL: http://svn.apache.org/viewvc?rev=1785677&view=rev
Log:
CMIS-1015: AtomPub: fixed wrong link cache key

Modified:
    chemistry/portcmis/trunk/PortCMIS/binding/atompub/AtomPubUtils.cs

Modified: chemistry/portcmis/trunk/PortCMIS/binding/atompub/AtomPubUtils.cs
URL: http://svn.apache.org/viewvc/chemistry/portcmis/trunk/PortCMIS/binding/atompub/AtomPubUtils.cs?rev=1785677&r1=1785676&r2=1785677&view=diff
==============================================================================
--- chemistry/portcmis/trunk/PortCMIS/binding/atompub/AtomPubUtils.cs (original)
+++ chemistry/portcmis/trunk/PortCMIS/binding/atompub/AtomPubUtils.cs Mon Mar  6 16:03:54
2017
@@ -928,7 +928,7 @@ namespace PortCMIS.Binding.AtomPub
                 string streamId = ExtractStreamId(link);
                 if (streamId != null)
                 {
-                    linkCache.Put(new string[] { link, repositoryId, id, rel }, streamId);
+                    linkCache.Put(new string[] { repositoryId, id, rel, streamId }, link);
                 }
             }
         }
@@ -1010,7 +1010,7 @@ namespace PortCMIS.Binding.AtomPub
         {
             if (KnownLinks.Contains(rel))
             {
-                typeLinkCache.Put(new string[] { link, repositoryId, id, rel }, type);
+                typeLinkCache.Put(new string[] { repositoryId, id, rel, type }, link);
             }
         }
 



Mime
View raw message