CMIS-1015: AtomPub: fixed wrong link cache key

git-svn-id: https://svn.apache.org/repos/asf/chemistry/portcmis/trunk@1785677 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/PortCMIS/binding/atompub/AtomPubUtils.cs b/PortCMIS/binding/atompub/AtomPubUtils.cs
index 3114df5..7349094 100644
--- a/PortCMIS/binding/atompub/AtomPubUtils.cs
+++ b/PortCMIS/binding/atompub/AtomPubUtils.cs
@@ -928,7 +928,7 @@
                 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 @@
         {

             if (KnownLinks.Contains(rel))

             {

-                typeLinkCache.Put(new string[] { link, repositoryId, id, rel }, type);

+                typeLinkCache.Put(new string[] { repositoryId, id, rel, type }, link);

             }

         }