db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1503984 - /db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/AbstractConfigurationProvider.java
Date Wed, 17 Jul 2013 03:53:46 GMT
Author: tfischer
Date: Wed Jul 17 03:53:45 2013
New Revision: 1503984

URL: http://svn.apache.org/r1503984
Log:
use final modifiers
add javadoc

Modified:
    db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/AbstractConfigurationProvider.java

Modified: db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/AbstractConfigurationProvider.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/AbstractConfigurationProvider.java?rev=1503984&r1=1503983&r2=1503984&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/AbstractConfigurationProvider.java
(original)
+++ db/torque/torque4/trunk/torque-generator/src/main/java/org/apache/torque/generator/configuration/AbstractConfigurationProvider.java
Wed Jul 17 03:53:45 2013
@@ -35,7 +35,7 @@ public abstract class AbstractConfigurat
      * The internal directory structure of the Torque generator
      * configuration files, not null.
      */
-    private TorqueGeneratorPaths configurationPaths;
+    private final TorqueGeneratorPaths configurationPaths;
 
     /**
      * Constructor.
@@ -46,7 +46,7 @@ public abstract class AbstractConfigurat
      * @throws NullPointerException if configurationPaths is null.
      */
     public AbstractConfigurationProvider(
-            TorqueGeneratorPaths configurationPaths)
+            final TorqueGeneratorPaths configurationPaths)
     {
         if (configurationPaths == null)
         {
@@ -55,6 +55,9 @@ public abstract class AbstractConfigurat
         this.configurationPaths = configurationPaths;
     }
 
+    /**
+     * @see ConfigurationProvider#getControlConfigurationInputStream()
+     */
     public InputStream getControlConfigurationInputStream()
             throws ConfigurationException
     {
@@ -64,7 +67,10 @@ public abstract class AbstractConfigurat
                 "control file");
     }
 
-    public InputStream getTemplateInputStream(String name)
+    /**
+     * @see ConfigurationProvider#getTemplateInputStream()
+     */
+    public InputStream getTemplateInputStream(final String name)
             throws ConfigurationException
     {
         return getInputStream(
@@ -73,7 +79,10 @@ public abstract class AbstractConfigurat
                 "template");
     }
 
-    public InputStream getOutletConfigurationInputStream(String name)
+    /**
+     * @see ConfigurationProvider#getOutletConfigurationInputStream(String)
+     */
+    public InputStream getOutletConfigurationInputStream(final String name)
             throws ConfigurationException
     {
         return getInputStream(
@@ -82,7 +91,10 @@ public abstract class AbstractConfigurat
                 "outlet configuration");
    }
 
-    public InputStream getResourceInputStream(String name)
+    /**
+     * @see ConfigurationProvider#getResourceInputStream(String)
+     */
+    public InputStream getResourceInputStream(final String name)
             throws ConfigurationException
     {
         return getInputStream(
@@ -91,7 +103,10 @@ public abstract class AbstractConfigurat
                 "resource");
     }
 
-    public InputStream getOptionsInputStream(String name)
+    /**
+     * @see ConfigurationProvider#getOptionsInputStream(String)
+     */
+    public InputStream getOptionsInputStream(final String name)
             throws ConfigurationException
     {
         return getInputStream(
@@ -105,5 +120,4 @@ public abstract class AbstractConfigurat
             String directory,
             String fileDescription)
         throws ConfigurationException;
-
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message