You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by rf...@apache.org on 2008/03/20 21:50:18 UTC

svn commit: r639450 - /lenya/trunk/src/modules/simplesite/java/src/org/apache/lenya/cms/site/simple/SimpleSiteManager.java

Author: rfrovarp
Date: Thu Mar 20 13:50:17 2008
New Revision: 639450

URL: http://svn.apache.org/viewvc?rev=639450&view=rev
Log:
DocumentStores aren't Documents. Removed check that should always fail.

Modified:
    lenya/trunk/src/modules/simplesite/java/src/org/apache/lenya/cms/site/simple/SimpleSiteManager.java

Modified: lenya/trunk/src/modules/simplesite/java/src/org/apache/lenya/cms/site/simple/SimpleSiteManager.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/simplesite/java/src/org/apache/lenya/cms/site/simple/SimpleSiteManager.java?rev=639450&r1=639449&r2=639450&view=diff
==============================================================================
--- lenya/trunk/src/modules/simplesite/java/src/org/apache/lenya/cms/site/simple/SimpleSiteManager.java (original)
+++ lenya/trunk/src/modules/simplesite/java/src/org/apache/lenya/cms/site/simple/SimpleSiteManager.java Thu Mar 20 13:50:17 2008
@@ -142,9 +142,6 @@
 
         try {
             DocumentStore store = getStore(resource);
-            if (resource.equals(store)) {
-                return true;
-            }
             return store.contains(resource);
         } catch (DocumentException e) {
             throw new SiteException(e);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org