Author: bwallace
Date: Sat Apr 22 06:23:01 2006
New Revision: 396126

URL: http://svn.apache.org/viewcvs?rev=396126&view=rev
Log:
[TAPESTRY-271] Removed underscore from variable name.

Modified:
    
tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/valid/DateValidator.java

Modified: 
tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/valid/DateValidator.java
URL: 
http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/valid/DateValidator.java?rev=396126&r1=396125&r2=396126&view=diff
==============================================================================
--- 
tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/valid/DateValidator.java
 (original)
+++ 
tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/valid/DateValidator.java
 Sat Apr 22 06:23:01 2006
@@ -143,16 +143,16 @@
                 result = format.parse(value);
             }
 
-            Calendar _calendar = new GregorianCalendar();
+            Calendar calendar = new GregorianCalendar();
 
-            _calendar.setTime(result);
+            calendar.setTime(result);
 
             // SimpleDateFormat allows two-digit dates to be
             // entered, i.e., 12/24/66 is Dec 24 0066 ... that's
             // probably not what is really wanted, so treat
             // it as an invalid date.
 
-            if (_calendar.get(Calendar.YEAR) < 1000)
+            if (calendar.get(Calendar.YEAR) < 1000)
                 result = null;
 
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to