Author: tfischer Date: Sun Sep 21 14:43:13 2014 New Revision: 1626583 URL: http://svn.apache.org/r1626583 Log: fix javadoc
Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/source/ConfigurableClassSaxHandler.java db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSource.java Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/source/ConfigurableClassSaxHandler.java URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/source/ConfigurableClassSaxHandler.java?rev=1626583&r1=1626582&r2=1626583&view=diff ============================================================================== --- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/source/ConfigurableClassSaxHandler.java (original) +++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/source/ConfigurableClassSaxHandler.java Sun Sep 21 14:43:13 2014 @@ -39,6 +39,8 @@ import org.xml.sax.helpers.DefaultHandle /** * Reads a configurable class from the controller configuration file. + * + * @param <T> the class to create. */ public class ConfigurableClassSaxHandler<T> extends DefaultHandler { @@ -303,6 +305,7 @@ public class ConfigurableClassSaxHandler * @throws SAXException if any other error occurs during instantiation * of the class. */ + @SuppressWarnings("unchecked") private T createConfiguredClass( final String className, final UnitDescriptor unitDescriptor) Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSource.java URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSource.java?rev=1626583&r1=1626582&r2=1626583&view=diff ============================================================================== --- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSource.java (original) +++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/source/stream/FileSource.java Sun Sep 21 14:43:13 2014 @@ -222,7 +222,10 @@ public class FileSource extends SourceIm /** * Returns the checksum of the content. * - * @return always null. + * @return the md5 sum of the content, + * or null if the implementation does not support + * creating the checksum, or if the source is unread + * and reading the source fails. */ public byte[] getContentChecksum() { --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscr...@db.apache.org For additional commands, e-mail: torque-dev-h...@db.apache.org