incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r947114 - in /sling/trunk/bundles/api/src/main/java/org/apache/sling/api: ./ request/ resource/ scripting/ servlets/
Date Fri, 21 May 2010 18:23:50 GMT
Author: cziegeler
Date: Fri May 21 18:23:49 2010
New Revision: 947114

URL: http://svn.apache.org/viewvc?rev=947114&view=rev
Log:
Add missing serial ids

Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingIOException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingServletException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RecursionTooDeepException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/TooManyCallsException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PersistenceException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/QuerySyntaxException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/Resource.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceMetadata.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/InvalidServiceFilterSyntaxException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/ScriptEvaluationException.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingBindings.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingAllMethodsServlet.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingSafeMethodsServlet.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingIOException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingIOException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingIOException.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingIOException.java Fri May
21 18:23:49 2010
@@ -28,6 +28,8 @@ import java.io.IOException;
  */
 public class SlingIOException extends SlingException {
 
+    private static final long serialVersionUID = 5278814329174799608L;
+
     public SlingIOException(IOException cause) {
         super(cause);
     }

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingServletException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingServletException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingServletException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/SlingServletException.java
Fri May 21 18:23:49 2010
@@ -28,6 +28,8 @@ import javax.servlet.ServletException;
  */
 public class SlingServletException extends SlingException {
 
+    private static final long serialVersionUID = 8666411662509951915L;
+
     public SlingServletException(ServletException cause) {
         super(cause);
     }

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RecursionTooDeepException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RecursionTooDeepException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RecursionTooDeepException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RecursionTooDeepException.java
Fri May 21 18:23:49 2010
@@ -27,13 +27,15 @@ import org.apache.sling.api.SlingExcepti
  */
 public class RecursionTooDeepException extends SlingException {
 
+    private static final long serialVersionUID = 776668636261012142L;
+
     /**
      * Creates a new instance of this class reporting the exception occurred
      * while trying to include the output for rendering the resource at the
      * given path.
      * <p>
      * The resource path is the actual message of the exception.
-     * 
+     *
      * @param resourcePath The path of the resource whose output inclusion
      *            causes this exception.
      */

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java
Fri May 21 18:23:49 2010
@@ -39,6 +39,8 @@ import java.util.StringTokenizer;
  */
 public class RequestDispatcherOptions extends HashMap<String, String> {
 
+    private static final long serialVersionUID = -9081782403304877746L;
+
     /**
      * When dispatching, use the value provided by this option as the resource
      * type, instead of the one defined by the

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/TooManyCallsException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/TooManyCallsException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/TooManyCallsException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/TooManyCallsException.java
Fri May 21 18:23:49 2010
@@ -27,17 +27,19 @@ import org.apache.sling.api.SlingExcepti
  */
 public class TooManyCallsException extends SlingException {
 
+    private static final long serialVersionUID = -8725296173002395104L;
+
     /**
      * Creates an instance of this exception naming the Servlet (or Script)
      * whose call caused this exception to be thrown.
      * <p>
      * The servlet name is the actual message of the exception.
-     * 
+     *
      * @param servletName The name of the Servlet (or Script) causing this
      *            exception.
      */
     public TooManyCallsException(String servletName) {
         super(servletName);
     }
-    
+
 }

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/LoginException.java
Fri May 21 18:23:49 2010
@@ -27,6 +27,8 @@ package org.apache.sling.api.resource;
  */
 public class LoginException extends Exception {
 
+    private static final long serialVersionUID = -5896615185390272299L;
+
     /**
      * Constructs a new instance of this class with <code>null</code> as its
      * detail message.

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PersistenceException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PersistenceException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PersistenceException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/PersistenceException.java
Fri May 21 18:23:49 2010
@@ -26,6 +26,8 @@ import java.io.IOException;
  */
 public class PersistenceException extends IOException {
 
+    private static final long serialVersionUID = -147631829162481787L;
+
     public PersistenceException() {
         super();
     }

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/QuerySyntaxException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/QuerySyntaxException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/QuerySyntaxException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/QuerySyntaxException.java
Fri May 21 18:23:49 2010
@@ -28,6 +28,8 @@ import org.apache.sling.api.SlingExcepti
  */
 public class QuerySyntaxException extends SlingException {
 
+    private static final long serialVersionUID = -6529624886228517646L;
+
     private final String query;
 
     private final String language;

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/Resource.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/Resource.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/Resource.java (original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/Resource.java Fri
May 21 18:23:49 2010
@@ -36,7 +36,7 @@ public interface Resource extends Adapta
      * @see #getResourceType()
      * @see ResourceResolver#resolve(javax.servlet.http.HttpServletRequest, String)
      */
-    static final String RESOURCE_TYPE_NON_EXISTING = "sling:nonexisting";
+    String RESOURCE_TYPE_NON_EXISTING = "sling:nonexisting";
 
     /**
      * This resource's path - for now that could be a JCR path. It's also

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceMetadata.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceMetadata.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceMetadata.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceMetadata.java
Fri May 21 18:23:49 2010
@@ -36,6 +36,8 @@ import java.util.HashMap;
  */
 public class ResourceMetadata extends HashMap<String, Object> {
 
+    private static final long serialVersionUID = 4692666752269523738L;
+
     /**
      * The name of the required property providing the part of the request URI
      * which was used to the resolve the resource to which the meta data

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceNotFoundException.java
Fri May 21 18:23:49 2010
@@ -31,6 +31,8 @@ import org.apache.sling.api.SlingExcepti
  */
 public class ResourceNotFoundException extends SlingException {
 
+    private static final long serialVersionUID = -6684709279554347984L;
+
     private final String resource;
 
     public ResourceNotFoundException(String message) {

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceUtil.java
Fri May 21 18:23:49 2010
@@ -257,7 +257,7 @@ public class ResourceUtil {
      * @throws NullPointerException if <code>res</code> is <code>null</code>.
      */
     public static boolean isNonExistingResource(Resource res) {
-        return NonExistingResource.RESOURCE_TYPE_NON_EXISTING.equals(res.getResourceType());
+        return Resource.RESOURCE_TYPE_NON_EXISTING.equals(res.getResourceType());
     }
 
     /**

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/InvalidServiceFilterSyntaxException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/InvalidServiceFilterSyntaxException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/InvalidServiceFilterSyntaxException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/InvalidServiceFilterSyntaxException.java
Fri May 21 18:23:49 2010
@@ -23,6 +23,8 @@ import org.apache.sling.api.SlingExcepti
 /** Thrown when an invalid service filter is used */
 public class InvalidServiceFilterSyntaxException extends SlingException {
 
+    private static final long serialVersionUID = 6557699360505403255L;
+
     private final String filter;
 
     public InvalidServiceFilterSyntaxException(String filter, String reason) {

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/ScriptEvaluationException.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/ScriptEvaluationException.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/ScriptEvaluationException.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/ScriptEvaluationException.java
Fri May 21 18:23:49 2010
@@ -27,6 +27,8 @@ import org.apache.sling.api.SlingExcepti
  */
 public class ScriptEvaluationException extends SlingException {
 
+    private static final long serialVersionUID = -274759591325189020L;
+
     private final String scriptName;
 
     public ScriptEvaluationException(String scriptName, String message) {

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingBindings.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingBindings.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingBindings.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingBindings.java
Fri May 21 18:23:49 2010
@@ -35,6 +35,8 @@ import org.slf4j.Logger;
  */
 public class SlingBindings extends HashMap<String, Object> {
 
+    private static final long serialVersionUID = 209505693646323450L;
+
     /**
      * The name of the global scripting variable providing the
      * {@link org.apache.sling.api.SlingHttpServletRequest} object (value is

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingAllMethodsServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingAllMethodsServlet.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingAllMethodsServlet.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingAllMethodsServlet.java
Fri May 21 18:23:49 2010
@@ -40,6 +40,8 @@ import org.apache.sling.api.SlingHttpSer
  */
 public class SlingAllMethodsServlet extends SlingSafeMethodsServlet {
 
+    private static final long serialVersionUID = -7960975481323952419L;
+
     /**
      * Called by the
      * {@link #mayService(SlingHttpServletRequest, SlingHttpServletResponse)} method to

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingSafeMethodsServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingSafeMethodsServlet.java?rev=947114&r1=947113&r2=947114&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingSafeMethodsServlet.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/SlingSafeMethodsServlet.java
Fri May 21 18:23:49 2010
@@ -69,6 +69,8 @@ import org.apache.sling.api.wrappers.Sli
  */
 public class SlingSafeMethodsServlet extends GenericServlet {
 
+    private static final long serialVersionUID = 3620512288346703072L;
+
     /**
      * Handles the <em>HEAD</em> method.
      * <p>



Mime
View raw message