cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r1153275 - in /cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching: CompoundCacheKey.java TimestampCacheKey.java
Date Tue, 02 Aug 2011 21:27:12 GMT
Author: anathaniel
Date: Tue Aug  2 21:27:11 2011
New Revision: 1153275

URL: http://svn.apache.org/viewvc?rev=1153275&view=rev
Log:
As if to support the Java6 discussion: @Override for implemented methods is recommended in
1.6 but invalid in 1.5

Modified:
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompoundCacheKey.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/TimestampCacheKey.java

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompoundCacheKey.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompoundCacheKey.java?rev=1153275&r1=1153274&r2=1153275&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompoundCacheKey.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompoundCacheKey.java
Tue Aug  2 21:27:11 2011
@@ -92,7 +92,6 @@ public class CompoundCacheKey extends Ab
      *
      * @see org.apache.cocoon.pipeline.caching.CacheKey#isValid(org.apache.cocoon.pipeline.caching.CacheKey)
      */
-    @Override
     public boolean isValid(final CacheKey cacheKey) {
         if (!(cacheKey instanceof CompoundCacheKey) || !this.equals(cacheKey)) {
             return false;

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/TimestampCacheKey.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/TimestampCacheKey.java?rev=1153275&r1=1153274&r2=1153275&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/TimestampCacheKey.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/TimestampCacheKey.java
Tue Aug  2 21:27:11 2011
@@ -64,7 +64,6 @@ public class TimestampCacheKey extends A
                 append(this.timestamp).toHashCode();
     }
 
-    @Override
     public boolean isValid(final CacheKey cacheKey) {
         if (!(cacheKey instanceof TimestampCacheKey)
                 || !this.equals(cacheKey)) {



Mime
View raw message