click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1062731 - in /click/trunk/click: extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java framework/src/org/apache/click/service/VelocityTemplateService.java
Date Mon, 24 Jan 2011 11:14:36 GMT
Author: sabob
Date: Mon Jan 24 11:14:36 2011
New Revision: 1062731

URL: http://svn.apache.org/viewvc?rev=1062731&view=rev
Log:
checkstyle

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java
    click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java?rev=1062731&r1=1062730&r2=1062731&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/cayenne/CayenneTemplate.java Mon
Jan 24 11:14:36 2011
@@ -62,14 +62,14 @@ public class CayenneTemplate {
     // ------------------------------------------------------ Protected Methods
 
     /**
-     * Instantiates new object and registers it with itself. Object class must
+     * Instantiate and register a new persistent object. Object class must
      * have a default constructor.
      *
      * @param persistentClass the persistent object class to create and register
      * @return the new registered persistent object
      */
-    protected <T> T newObject(Class<T> dataObjectClass) {
-        return getDataContext().newObject(dataObjectClass);
+    protected <T> T newObject(Class<T> persistentClass) {
+        return getDataContext().newObject(persistentClass);
     }
 
     /**

Modified: click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java?rev=1062731&r1=1062730&r2=1062731&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
(original)
+++ click/trunk/click/framework/src/org/apache/click/service/VelocityTemplateService.java
Mon Jan 24 11:14:36 2011
@@ -46,7 +46,6 @@ import org.apache.velocity.io.VelocityWr
 import org.apache.velocity.runtime.RuntimeConstants;
 import org.apache.velocity.runtime.RuntimeServices;
 import org.apache.velocity.runtime.log.LogChute;
-import org.apache.velocity.runtime.parser.TemplateParseException;
 import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader;
 import org.apache.velocity.tools.view.WebappResourceLoader;
 import org.apache.velocity.util.SimplePool;



Mime
View raw message