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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.