You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Daniel Rall <dl...@finemaltcoding.com> on 2002/04/05 03:46:25 UTC
[DVSL][PATCH] formatting spruce up
Removed some unsightly ^M characters.
Index: DVSLTask.java
===================================================================
RCS file: /home/cvspublic/jakarta-velocity-dvsl/src/java/org/apache/tools/dvsl/DVSLTask.java,v
retrieving revision 1.7
diff -u -u -r1.7 DVSLTask.java
--- DVSLTask.java 17 Mar 2002 21:08:52 -0000 1.7
+++ DVSLTask.java 5 Apr 2002 01:45:30 -0000
@@ -154,16 +154,16 @@
private Properties toolboxProps = null;
private String velConfigClass = null;
- private Map velConfigMap = null;
- private Vector velConfigAttr = new Vector();
+ private Map velConfigMap = null;
+ private Vector velConfigAttr = new Vector();
private boolean validatingParser = false;
-
- //private String outputtype = null; // later when output type is supported
-
- /**
- * Creates a new DVSLTask Task.
- **/
+
+ //private String outputtype = null; // later when output type is supported
+
+ /**
+ * Creates a new DVSLTask Task.
+ **/
public DVSLTask()
{
classLoader = DVSLTask.class.getClassLoader();
@@ -185,18 +185,18 @@
}
if (baseDir == null)
- {
- baseDir = project.resolveFile(".");
- }
-
- /*
- * make a DVSL and set validation
- */
+ {
+ baseDir = project.resolveFile(".");
+ }
+
+ /*
+ * make a DVSL and set validation
+ */
dvsl = new DVSL();
dvsl.setValidatingParser(validatingParser);
-
- /*
+
+ /*
* Create a new Classloader for loading the Toolbox and the Velocity
* properties class.
*/
@@ -515,14 +515,14 @@
* @param r reference to classpath
*/
public void setClasspathRef(Reference r)
- {
- createClasspath().setRefid(r);
+ {
+ createClasspath().setRefid(r);
}
/**
* Sets the flag to have DVSL use a validating parser for the
* input documents
- */
+ */
public void setValidatingParser(boolean validating)
{
if (validating == true)
@@ -532,13 +532,13 @@
validatingParser = validating;
}
-
- /**
- * Processes the given input XML file and stores the result
- * in the given resultFile.
- **/
- private void process(File baseDir, String xmlFile, File destDir,
- File stylesheet)
+
+ /**
+ * Processes the given input XML file and stores the result
+ * in the given resultFile.
+ */
+ private void process(File baseDir, String xmlFile, File destDir,
+ File stylesheet)
throws BuildException
{
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: [DVSL][PATCH] formatting spruce up
Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
Commit away...
I wish I knew where these came from...
On 4/4/02 8:46 PM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:
> Removed some unsightly ^M characters.
>
> Index: DVSLTask.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-velocity-dvsl/src/java/org/apache/tools/dvsl/DVSLTask.
> java,v
> retrieving revision 1.7
> diff -u -u -r1.7 DVSLTask.java
> --- DVSLTask.java 17 Mar 2002 21:08:52 -0000 1.7
> +++ DVSLTask.java 5 Apr 2002 01:45:30 -0000
> @@ -154,16 +154,16 @@
> private Properties toolboxProps = null;
>
> private String velConfigClass = null;
> - private Map velConfigMap = null;
>
> - private Vector velConfigAttr = new Vector();
>
> + private Map velConfigMap = null;
> + private Vector velConfigAttr = new Vector();
>
> private boolean validatingParser = false;
> -
>
> - //private String outputtype = null; // later when output type is
> supported
>
> -
>
> - /**
>
> - * Creates a new DVSLTask Task.
>
> - **/
>
> +
> + //private String outputtype = null; // later when output type is
> supported
> +
> + /**
> + * Creates a new DVSLTask Task.
> + **/
> public DVSLTask()
> {
> classLoader = DVSLTask.class.getClassLoader();
> @@ -185,18 +185,18 @@
> }
>
> if (baseDir == null)
> - {
>
> - baseDir = project.resolveFile(".");
>
> - }
>
> -
>
> - /*
>
> - * make a DVSL and set validation
>
> - */
>
> + {
> + baseDir = project.resolveFile(".");
> + }
> +
> + /*
> + * make a DVSL and set validation
> + */
> dvsl = new DVSL();
>
> dvsl.setValidatingParser(validatingParser);
> -
>
> - /*
>
> +
> + /*
> * Create a new Classloader for loading the Toolbox and the Velocity
> * properties class.
> */
> @@ -515,14 +515,14 @@
> * @param r reference to classpath
> */
> public void setClasspathRef(Reference r)
> - {
>
> - createClasspath().setRefid(r);
>
> + {
> + createClasspath().setRefid(r);
> }
>
> /**
> * Sets the flag to have DVSL use a validating parser for the
> * input documents
> - */
>
> + */
> public void setValidatingParser(boolean validating)
> {
> if (validating == true)
> @@ -532,13 +532,13 @@
>
> validatingParser = validating;
> }
> -
>
> - /**
>
> - * Processes the given input XML file and stores the result
>
> - * in the given resultFile.
>
> - **/
>
> - private void process(File baseDir, String xmlFile, File destDir,
>
> - File stylesheet)
>
> +
> + /**
> + * Processes the given input XML file and stores the result
> + * in the given resultFile.
> + */
> + private void process(File baseDir, String xmlFile, File destDir,
> + File stylesheet)
> throws BuildException
> {
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
--
Geir Magnusson Jr. geirm@optonline.net
System and Software Consulting
Somebody has to do something, and it's just incredibly pathetic that it has
to be us. - Jerry Garcia
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>