Author: andreas
Date: Fri Jan 2 09:10:12 2009
New Revision: 730788
URL: http://svn.apache.org/viewvc?rev=730788&view=rev
Log:
[minor change] code simplification
Modified:
lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeFactory.java
Modified: lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeFactory.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeFactory.java?rev=730788&r1=730787&r2=730788&view=diff
==============================================================================
--- lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeFactory.java (original)
+++ lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeFactory.java Fri Jan 2 09:10:12 2009
@@ -40,8 +40,7 @@
}
public RepositoryItem buildItem(Session session, String key) throws RepositoryException {
- Node node = new SourceNode(session, key, this.manager, getLogger());
- return node;
+ return new SourceNode(session, key, this.manager, getLogger());
}
public String getItemType() {
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.