You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2009/01/02 18:10:13 UTC

svn commit: r730788 - /lenya/trunk/src/modules/sourcerepository/java/src/org/apache/lenya/cms/repository/SourceNodeFactory.java

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() {



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