cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r701971 - in /cocoon/cocoon3/trunk: cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/ cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/ cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/util/ cocoon-sitemap/sr...
Date Mon, 06 Oct 2008 07:35:33 GMT
Author: reinhard
Date: Mon Oct  6 00:35:32 2008
New Revision: 701971

URL: http://svn.apache.org/viewvc?rev=701971&view=rev
Log:
COCOON3-1 set serialVersionUID (thanks to Simone Tripodi for the initial patch)

Modified:
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/ProcessingException.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompleteCacheValue.java
    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/ParameterCacheKey.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/SimpleCacheKey.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/TimestampCacheKey.java
    cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/util/SaxBuffer.java
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/matcher/WildcardMatcher.java
    cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/MatchNode.java

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/ProcessingException.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/ProcessingException.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/ProcessingException.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/ProcessingException.java
Mon Oct  6 00:35:32 2008
@@ -21,6 +21,8 @@
  */
 public class ProcessingException extends RuntimeException {
 
+    private static final long serialVersionUID = 1L;
+
     public ProcessingException() {
         super();
     }

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompleteCacheValue.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompleteCacheValue.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompleteCacheValue.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/CompleteCacheValue.java
Mon Oct  6 00:35:32 2008
@@ -25,6 +25,7 @@
 
 public class CompleteCacheValue implements CacheValue {
 
+    private static final long serialVersionUID = 1L;
     private final byte[] content;
     private final CacheKey cacheKey;
 

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=701971&r1=701970&r2=701971&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
Mon Oct  6 00:35:32 2008
@@ -28,6 +28,8 @@
 
 public class CompoundCacheKey implements CacheKey {
 
+    private static final long serialVersionUID = 1L;
+
     private final Log logger = LogFactory.getLog(this.getClass());
 
     private final List<CacheKey> cacheKeys = new LinkedList<CacheKey>();

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/ParameterCacheKey.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/ParameterCacheKey.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/ParameterCacheKey.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/ParameterCacheKey.java
Mon Oct  6 00:35:32 2008
@@ -18,12 +18,12 @@
 
 import java.util.Map;
 
-
 /**
  * A {@link CacheKey} that contains a {@link Map} of parameters.
  */
 public class ParameterCacheKey implements CacheKey {
 
+    private static final long serialVersionUID = 1L;
     private final Map<String, Object> parameters;
 
     public ParameterCacheKey(Map<String, Object> parameters) {

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/SimpleCacheKey.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/SimpleCacheKey.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/SimpleCacheKey.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/caching/SimpleCacheKey.java
Mon Oct  6 00:35:32 2008
@@ -22,6 +22,8 @@
 
 public class SimpleCacheKey implements CacheKey {
 
+    private static final long serialVersionUID = 1L;
+
     @Override
     public boolean equals(Object obj) {
         return obj instanceof SimpleCacheKey;

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=701971&r1=701970&r2=701971&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
Mon Oct  6 00:35:32 2008
@@ -26,6 +26,7 @@
 
 public class TimestampCacheKey implements CacheKey {
 
+    private static final long serialVersionUID = 1L;
     private final long timestamp;
     private final URL url;
 

Modified: cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/util/SaxBuffer.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/util/SaxBuffer.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/util/SaxBuffer.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-pipeline/src/main/java/org/apache/cocoon/pipeline/util/SaxBuffer.java
Mon Oct  6 00:35:32 2008
@@ -48,6 +48,8 @@
  */
 public class SaxBuffer implements XMLConsumer, Serializable {
 
+    private static final long serialVersionUID = 1L;
+
     /**
      * Stores list of {@link SaxBit} objects.
      */
@@ -222,6 +224,9 @@
     }
 
     public final static class StartDocument implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public static final StartDocument SINGLETON = new StartDocument();
 
         public void send(ContentHandler contentHandler) throws SAXException {
@@ -234,6 +239,9 @@
     }
 
     public final static class EndDocument implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public static final EndDocument SINGLETON = new EndDocument();
 
         public void send(ContentHandler contentHandler) throws SAXException {
@@ -246,6 +254,9 @@
     }
 
     public final static class PI implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String target;
         public final String data;
 
@@ -264,6 +275,9 @@
     }
 
     public final static class StartDTD implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String name;
         public final String publicId;
         public final String systemId;
@@ -287,6 +301,9 @@
     }
 
     public final static class EndDTD implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public static final EndDTD SINGLETON = new EndDTD();
 
         public void send(ContentHandler contentHandler) throws SAXException {
@@ -301,6 +318,9 @@
     }
 
     public final static class StartEntity implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String name;
 
         public StartEntity(String name) {
@@ -319,6 +339,9 @@
     }
 
     public final static class EndEntity implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String name;
 
         public EndEntity(String name) {
@@ -337,6 +360,9 @@
     }
 
     public final static class SkippedEntity implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String name;
 
         public SkippedEntity(String name) {
@@ -353,6 +379,9 @@
     }
 
     public final static class StartPrefixMapping implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String prefix;
         public final String uri;
 
@@ -371,6 +400,9 @@
     }
 
     public final static class EndPrefixMapping implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String prefix;
 
         public EndPrefixMapping(String prefix) {
@@ -387,6 +419,9 @@
     }
 
     public final static class StartElement implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String namespaceURI;
         public final String localName;
         public final String qName;
@@ -415,6 +450,9 @@
     }
 
     public final static class EndElement implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final String namespaceURI;
         public final String localName;
         public final String qName;
@@ -436,6 +474,9 @@
     }
 
     public final static class Characters implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final char[] ch;
 
         public Characters(char[] ch, int start, int length) {
@@ -458,6 +499,9 @@
     }
 
     public final static class Comment implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final char[] ch;
 
         public Comment(char[] ch, int start, int length) {
@@ -478,6 +522,9 @@
     }
 
     public final static class StartCDATA implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public static final StartCDATA SINGLETON = new StartCDATA();
 
         public void send(ContentHandler contentHandler) throws SAXException {
@@ -492,6 +539,9 @@
     }
 
     public final static class EndCDATA implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public static final EndCDATA SINGLETON = new EndCDATA();
 
         public void send(ContentHandler contentHandler) throws SAXException {
@@ -506,6 +556,9 @@
     }
 
     public final static class IgnorableWhitespace implements SaxBit, Serializable {
+
+        private static final long serialVersionUID = 1L;
+
         public final char[] ch;
 
         public IgnorableWhitespace(char[] ch, int start, int length) {

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/InvocationImpl.java
Mon Oct  6 00:35:32 2008
@@ -385,6 +385,8 @@
 
     public class UnsupportedExpressionLanguageException extends RuntimeException {
 
+        private static final long serialVersionUID = 1L;
+
         public UnsupportedExpressionLanguageException(String msg) {
             super(msg);
         }
@@ -392,6 +394,8 @@
 
     public class VariableNotFoundException extends RuntimeException {
 
+        private static final long serialVersionUID = 1L;
+
         public VariableNotFoundException(String msg) {
             super(msg);
         }

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/matcher/WildcardMatcher.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/matcher/WildcardMatcher.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/matcher/WildcardMatcher.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/matcher/WildcardMatcher.java
Mon Oct  6 00:35:32 2008
@@ -134,6 +134,8 @@
 
     public static class UnsupportedNamedWildcardExpressionException extends RuntimeException
{
 
+        private static final long serialVersionUID = 1L;
+
         public UnsupportedNamedWildcardExpressionException(String msg) {
             super(msg);
         }

Modified: cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/MatchNode.java
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/MatchNode.java?rev=701971&r1=701970&r2=701971&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/MatchNode.java
(original)
+++ cocoon/cocoon3/trunk/cocoon-sitemap/src/main/java/org/apache/cocoon/sitemap/node/MatchNode.java
Mon Oct  6 00:35:32 2008
@@ -200,6 +200,8 @@
 
     private static class MatchingAttributeException extends RuntimeException {
 
+        private static final long serialVersionUID = 1L;
+
         public MatchingAttributeException(String message) {
             super(message);
         }



Mime
View raw message