tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gred...@apache.org
Subject svn commit: r547975 - in /tapestry/tapestry5/trunk/tapestry-core/src: main/java/org/apache/tapestry/internal/services/ main/java/org/apache/tapestry/internal/util/ test/java/org/apache/tapestry/validator/
Date Sat, 16 Jun 2007 20:16:40 GMT
Author: gredler
Date: Sat Jun 16 13:16:39 2007
New Revision: 547975

URL: http://svn.apache.org/viewvc?view=rev&rev=547975
Log:
Readability: use uppercase L's for long constants (ie, "50L" rather than "50l").

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCacheImpl.java
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceStreamerImpl.java
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/URLChangeTracker.java
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MaxTest.java
    tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MinTest.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCacheImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCacheImpl.java?view=diff&rev=547975&r1=547974&r2=547975
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCacheImpl.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceCacheImpl.java
Sat Jun 16 13:16:39 2007
@@ -34,7 +34,7 @@
 
     private final Map<Resource, Cached> _cache = newConcurrentMap();
 
-    final static long MISSING_RESOURCE_TIME_MODIFIED = -1l;
+    final static long MISSING_RESOURCE_TIME_MODIFIED = -1L;
 
     private class Cached
     {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceStreamerImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceStreamerImpl.java?view=diff&rev=547975&r1=547974&r2=547975
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceStreamerImpl.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/services/ResourceStreamerImpl.java
Sat Jun 16 13:16:39 2007
@@ -36,7 +36,7 @@
 
     // One year, in milliseconds
 
-    final static long EXPIRE_DELTA = 31536000000l;
+    final static long EXPIRE_DELTA = 31536000000L;
 
     public ResourceStreamerImpl(final Response response, Map<String, String> configuration)
     {

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/URLChangeTracker.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/URLChangeTracker.java?view=diff&rev=547975&r1=547974&r2=547975
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/URLChangeTracker.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/internal/util/URLChangeTracker.java
Sat Jun 16 13:16:39 2007
@@ -31,7 +31,7 @@
  */
 public class URLChangeTracker
 {
-    private static final long FILE_DOES_NOT_EXIST_TIMESTAMP = -1l;
+    private static final long FILE_DOES_NOT_EXIST_TIMESTAMP = -1L;
 
     private final Map<File, Long> _fileToTimestamp = newConcurrentMap();
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MaxTest.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MaxTest.java?view=diff&rev=547975&r1=547974&r2=547975
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MaxTest.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MaxTest.java
Sat Jun 16 13:16:39 2007
@@ -27,7 +27,7 @@
     {
         Field field = mockField();
         MessageFormatter formatter = mockMessageFormatter();
-        Long constraint = 50l;
+        Long constraint = 50L;
 
         replay();
 

Modified: tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MinTest.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MinTest.java?view=diff&rev=547975&r1=547974&r2=547975
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MinTest.java
(original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry/validator/MinTest.java
Sat Jun 16 13:16:39 2007
@@ -27,7 +27,7 @@
     {
         Field field = mockField();
         MessageFormatter formatter = mockMessageFormatter();
-        Long constraint = 50l;
+        Long constraint = 50L;
 
         replay();
 



Mime
View raw message