From 21941d738549bad697c2d098b71a8eb3f83fdd9d Mon Sep 17 00:00:00 2001 From: Britt Park Date: Mon, 9 Oct 2006 21:49:07 +0000 Subject: [PATCH] Turned off, for now, because the current implementation is decidedly borked, heuristic cycle checking. This was causing the css not showing up in initial previews of web pages, followed by showing up on one or more refreshes. I am a prat. The evidence is irrefutable. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4084 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org/alfresco/repo/avm/AVMRepository.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/source/java/org/alfresco/repo/avm/AVMRepository.java b/source/java/org/alfresco/repo/avm/AVMRepository.java index 913bc9e4f0..fcfef8d9a0 100644 --- a/source/java/org/alfresco/repo/avm/AVMRepository.java +++ b/source/java/org/alfresco/repo/avm/AVMRepository.java @@ -879,10 +879,10 @@ public class AVMRepository { fLookupCount.set(count + 1); } - if (fLookupCount.get() > 50) - { - throw new AVMCycleException("Cycle in lookup."); - } +// if (fLookupCount.get() > 50) +// { +// throw new AVMCycleException("Cycle in lookup."); +// } String [] pathParts = SplitPath(path); AVMStore store = getAVMStoreByName(pathParts[0]); if (store == null) @@ -1129,10 +1129,10 @@ public class AVMRepository */ public Lookup lookupDirectory(int version, String path) { - if (fLookupCount.get() > 50) - { - throw new AVMCycleException("Cycle in lookup."); - } +// if (fLookupCount.get() > 50) +// { +// throw new AVMCycleException("Cycle in lookup."); +// } String [] pathParts = SplitPath(path); AVMStore store = getAVMStoreByName(pathParts[0]); if (store == null)