commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1640268 - in /commons/proper/validator/trunk: ./ src/example/org/apache/commons/validator/example/ src/main/resources/org/apache/commons/validator/ src/site/xdoc/ src/test/resources/org/apache/commons/validator/
Date Tue, 18 Nov 2014 02:21:38 GMT
Author: sebb
Date: Tue Nov 18 02:21:38 2014
New Revision: 1640268

URL: http://svn.apache.org/r1640268
Log:
Tab police

Modified:
    commons/proper/validator/trunk/build.xml
    commons/proper/validator/trunk/src/example/org/apache/commons/validator/example/validator-example.xml
    commons/proper/validator/trunk/src/main/resources/org/apache/commons/validator/digester-rules.xml
    commons/proper/validator/trunk/src/site/xdoc/building.xml
    commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-1-config.xml
    commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-2-config.xml
    commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/RetrieveFormTest-config.xml

Modified: commons/proper/validator/trunk/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/build.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/build.xml (original)
+++ commons/proper/validator/trunk/build.xml Tue Nov 18 02:21:38 2014
@@ -291,7 +291,7 @@
 
 
   <target name="change-log" >
-   	<cvschangelog destfile="changelog.xml" start="${cvs.start}" />
+     <cvschangelog destfile="changelog.xml" start="${cvs.start}" />
      <style in="changelog.xml" out="changelog.html" style="${ant.home}/etc/changelog.xsl">
           <param name="title" expression="Validator ChangeLog"/>
           <param name="module" expression="commons"/>

Modified: commons/proper/validator/trunk/src/example/org/apache/commons/validator/example/validator-example.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/example/org/apache/commons/validator/example/validator-example.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/example/org/apache/commons/validator/example/validator-example.xml
(original)
+++ commons/proper/validator/trunk/src/example/org/apache/commons/validator/example/validator-example.xml
Tue Nov 18 02:21:38 2014
@@ -35,25 +35,25 @@
    <formset>
       <form name="ValidateBean">
          <field property="firstName"  depends="required">
-         	   <arg key="nameForm.firstname.displayname"/>
+            <arg key="nameForm.firstname.displayname"/>
          </field>    
          <field  property="lastName" depends="required">
-         	     <arg key="nameForm.lastname.displayname"/>
+              <arg key="nameForm.lastname.displayname"/>
          </field>
          <field  property="street1" depends="required">
-         	     <arg key="nameForm.street1.displayname"/>
+              <arg key="nameForm.street1.displayname"/>
          </field>
          <field  property="state" depends="required">
-         	     <arg key="nameForm.city.displayname"/>
+              <arg key="nameForm.city.displayname"/>
          </field>
          <field  property="state" depends="required">
-         	     <arg key="nameForm.state.displayname"/>
+              <arg key="nameForm.state.displayname"/>
          </field>
          <field  property="postalCode" depends="required">
-         	     <arg key="nameForm.postalCode.displayname"/>
+              <arg key="nameForm.postalCode.displayname"/>
          </field>
          <field  property="age" depends="required,int">
-         	     <arg key="nameForm.age.displayname"/>
+              <arg key="nameForm.age.displayname"/>
          </field>
 
       </form>

Modified: commons/proper/validator/trunk/src/main/resources/org/apache/commons/validator/digester-rules.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/main/resources/org/apache/commons/validator/digester-rules.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/main/resources/org/apache/commons/validator/digester-rules.xml
(original)
+++ commons/proper/validator/trunk/src/main/resources/org/apache/commons/validator/digester-rules.xml
Tue Nov 18 02:21:38 2014
@@ -17,86 +17,86 @@
 -->
 
 <!--
-	digester-rules.xml defines the rules our Digester will use to transform 
-	validation.xml files into Java objects.
-	
-	$Id$
+    digester-rules.xml defines the rules our Digester will use to transform 
+    validation.xml files into Java objects.
+    
+    $Id$
 -->
 
 
 <!DOCTYPE digester-rules PUBLIC "-//Jakarta Apache //DTD digester-rules XML V1.0//EN"

-	"http://jakarta.apache.org/commons/digester/dtds/digester-rules.dtd">
+    "http://jakarta.apache.org/commons/digester/dtds/digester-rules.dtd">
 
 <digester-rules>
 
-	<pattern value="form-validation/global">
-		
-		<pattern value="constant">
-			<call-method-rule methodname="addConstant" paramcount="2" />
-			<call-param-rule pattern="constant-name" paramnumber="0" />
-			<call-param-rule pattern="constant-value" paramnumber="1" />
-		</pattern>
-		
-		<pattern value="validator">	
-			<object-create-rule classname="org.apache.commons.validator.ValidatorAction" />
-			<set-properties-rule/>
-			<set-next-rule methodname="addValidatorAction" paramtype="org.apache.commons.validator.ValidatorAction"
/>
-			<call-method-rule pattern="javascript" methodname="setJavascript" paramcount="0" />
-		</pattern>
-		
-	</pattern>
-	
-	
-	<pattern value="form-validation/formset">
-
-		<factory-create-rule classname="org.apache.commons.validator.FormSetFactory" />
-		
-		<pattern value="constant">
-			<call-method-rule methodname="addConstant" paramcount="2" />
-			<call-param-rule pattern="constant-name" paramnumber="0" />
-			<call-param-rule pattern="constant-value" paramnumber="1" />
-		</pattern>
-		
-		<pattern value="form">
-			<object-create-rule classname="org.apache.commons.validator.Form" />
-			<set-properties-rule/>
-			<set-next-rule methodname="addForm" paramtype="org.apache.commons.validator.Form" />
-			
-			<pattern value="field">
-				<object-create-rule classname="org.apache.commons.validator.Field" />
-				<set-properties-rule/>
-				<set-next-rule methodname="addField" paramtype="org.apache.commons.validator.Field"
/>
-				
-				<pattern value="var">
-					<object-create-rule classname="org.apache.commons.validator.Var" />
-					<set-properties-rule/>
-					<pattern value="var-name">
-						<call-method-rule methodname="setName" paramcount="0" />
-					</pattern>
-					<pattern value="var-value">
-						<call-method-rule methodname="setValue" paramcount="0" />
-					</pattern>
-					<pattern value="var-jstype">
-						<call-method-rule methodname="setJsType" paramcount="0" />
-					</pattern>
-					<set-next-rule methodname="addVar" paramtype="org.apache.commons.validator.Var" />
-				</pattern>
-				
-				<pattern value="msg">
-					<object-create-rule classname="org.apache.commons.validator.Msg" />
-					<set-properties-rule/>
-					<set-next-rule methodname="addMsg" paramtype="org.apache.commons.validator.Msg" />
-				</pattern>
-				
-				<pattern value="arg">
-					<object-create-rule classname="org.apache.commons.validator.Arg" />
-					<set-properties-rule/>
-					<set-next-rule methodname="addArg" paramtype="org.apache.commons.validator.Arg" />
-				</pattern>
-			
-			</pattern>	
-			
-		</pattern>
-		
-	</pattern>
+    <pattern value="form-validation/global">
+        
+        <pattern value="constant">
+            <call-method-rule methodname="addConstant" paramcount="2" />
+            <call-param-rule pattern="constant-name" paramnumber="0" />
+            <call-param-rule pattern="constant-value" paramnumber="1" />
+        </pattern>
+        
+        <pattern value="validator">
+            <object-create-rule classname="org.apache.commons.validator.ValidatorAction"
/>
+            <set-properties-rule/>
+            <set-next-rule methodname="addValidatorAction" paramtype="org.apache.commons.validator.ValidatorAction"
/>
+            <call-method-rule pattern="javascript" methodname="setJavascript" paramcount="0"
/>
+        </pattern>
+        
+    </pattern>
+    
+    
+    <pattern value="form-validation/formset">
+
+        <factory-create-rule classname="org.apache.commons.validator.FormSetFactory" />
+        
+        <pattern value="constant">
+            <call-method-rule methodname="addConstant" paramcount="2" />
+            <call-param-rule pattern="constant-name" paramnumber="0" />
+            <call-param-rule pattern="constant-value" paramnumber="1" />
+        </pattern>
+        
+        <pattern value="form">
+            <object-create-rule classname="org.apache.commons.validator.Form" />
+            <set-properties-rule/>
+            <set-next-rule methodname="addForm" paramtype="org.apache.commons.validator.Form"
/>
+            
+            <pattern value="field">
+                <object-create-rule classname="org.apache.commons.validator.Field" />
+                <set-properties-rule/>
+                <set-next-rule methodname="addField" paramtype="org.apache.commons.validator.Field"
/>
+                
+                <pattern value="var">
+                    <object-create-rule classname="org.apache.commons.validator.Var" />
+                    <set-properties-rule/>
+                    <pattern value="var-name">
+                        <call-method-rule methodname="setName" paramcount="0" />
+                    </pattern>
+                    <pattern value="var-value">
+                        <call-method-rule methodname="setValue" paramcount="0" />
+                    </pattern>
+                    <pattern value="var-jstype">
+                        <call-method-rule methodname="setJsType" paramcount="0" />
+                    </pattern>
+                    <set-next-rule methodname="addVar" paramtype="org.apache.commons.validator.Var"
/>
+                </pattern>
+                
+                <pattern value="msg">
+                    <object-create-rule classname="org.apache.commons.validator.Msg" />
+                    <set-properties-rule/>
+                    <set-next-rule methodname="addMsg" paramtype="org.apache.commons.validator.Msg"
/>
+                </pattern>
+                
+                <pattern value="arg">
+                    <object-create-rule classname="org.apache.commons.validator.Arg" />
+                    <set-properties-rule/>
+                    <set-next-rule methodname="addArg" paramtype="org.apache.commons.validator.Arg"
/>
+                </pattern>
+            
+            </pattern>
+            
+        </pattern>
+        
+    </pattern>
 </digester-rules>

Modified: commons/proper/validator/trunk/src/site/xdoc/building.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/site/xdoc/building.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/site/xdoc/building.xml (original)
+++ commons/proper/validator/trunk/src/site/xdoc/building.xml Tue Nov 18 02:21:38 2014
@@ -47,8 +47,8 @@
     The result will be in "target/docs".
   </p>
   <p>
-	Further details can be found in the
-	<a href="http://commons.apache.org/building.html">commons build instructions</a>.
+    Further details can be found in the
+    <a href="http://commons.apache.org/building.html">commons build instructions</a>.
   </p>
 </section>
 <!-- ================================================== -->

Modified: commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-1-config.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-1-config.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-1-config.xml
(original)
+++ commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-1-config.xml
Tue Nov 18 02:21:38 2014
@@ -19,8 +19,8 @@
      "http://commons.apache.org/dtds/validator_1_4_0.dtd">
      
 <!--
-	This first config file only contains the validator definitions.  This 
-	separation is how Struts does things.
+    This first config file only contains the validator definitions.  This 
+    separation is how Struts does things.
 -->
 <form-validation>
    <global>

Modified: commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-2-config.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-2-config.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-2-config.xml
(original)
+++ commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/MultipleConfigFilesTest-2-config.xml
Tue Nov 18 02:21:38 2014
@@ -19,7 +19,7 @@
      "http://commons.apache.org/dtds/validator_1_4_0.dtd">
      
 <!--
-	This second config file only contains the formset definitions.
+    This second config file only contains the formset definitions.
 -->
 <form-validation>
    <formset>

Modified: commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/RetrieveFormTest-config.xml
URL: http://svn.apache.org/viewvc/commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/RetrieveFormTest-config.xml?rev=1640268&r1=1640267&r2=1640268&view=diff
==============================================================================
--- commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/RetrieveFormTest-config.xml
(original)
+++ commons/proper/validator/trunk/src/test/resources/org/apache/commons/validator/RetrieveFormTest-config.xml
Tue Nov 18 02:21:38 2014
@@ -19,7 +19,7 @@
      "http://commons.apache.org/dtds/validator_1_4_0.dtd">
      
 <!--
-	Each of the form's in this test config has a field with a property name of
+      Each of the form's in this test config has a field with a property name of
       "testProperty" which has a variable named "localeVar" which has the value of
       the locale for the Form.
 



Mime
View raw message