Author: andreas
Date: Sat Jan 3 08:32:19 2009
New Revision: 731014
URL: http://svn.apache.org/viewvc?rev=731014&view=rev
Log:
Pass null instead of empty identity to shared item store.
Modified:
lenya/trunk/src/impl/java/org/apache/lenya/cms/repository/SharedItemStoreImpl.java
Modified: lenya/trunk/src/impl/java/org/apache/lenya/cms/repository/SharedItemStoreImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/impl/java/org/apache/lenya/cms/repository/SharedItemStoreImpl.java?rev=731014&r1=731013&r2=731014&view=diff
==============================================================================
--- lenya/trunk/src/impl/java/org/apache/lenya/cms/repository/SharedItemStoreImpl.java (original)
+++ lenya/trunk/src/impl/java/org/apache/lenya/cms/repository/SharedItemStoreImpl.java Sat Jan 3 08:32:19 2009
@@ -41,7 +41,7 @@
public synchronized Session getSession() {
if (this.session == null) {
try {
- this.session = RepositoryUtil.createSession(this.manager, new Identity(getLogger()), false);
+ this.session = RepositoryUtil.createSession(this.manager, null, false);
} catch (RepositoryException e) {
throw new RuntimeException(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.