incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r901574 - in /sling/trunk/bundles/api/src/main/java/org/apache/sling/api: adapter/AdapterSupport.java request/RequestProgressTracker.java resource/ResourceProvider.java servlets/OptingServlet.java
Date Thu, 21 Jan 2010 07:14:33 GMT
Author: cziegeler
Date: Thu Jan 21 07:14:10 2010
New Revision: 901574

URL: http://svn.apache.org/viewvc?rev=901574&view=rev
Log:
Clean up code - no functional changes.

Removed:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/adapter/AdapterSupport.java
Modified:
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceProvider.java
    sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java?rev=901574&r1=901573&r2=901574&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/request/RequestProgressTracker.java
Thu Jan 21 07:14:10 2010
@@ -80,33 +80,33 @@
 public interface RequestProgressTracker {
 
     /** Creates an entry with the given message */
-    public void log(String message);
+     void log(String message);
 
     /**
      * Creates an entry with a message constructed from the given
      * <code>MessageFormat</code> format evaluated using the given formatting
      * arguments.
      */
-    public void log(String format, Object... args);
+    void log(String format, Object... args);
 
     /**
      * Starts a named timer. If a timer of the same name already exists, it is
      * reset to the current time.
      */
-    public void startTimer(String timerName);
+    void startTimer(String timerName);
 
     /**
      * Logs an entry with the message set to the name of the timer and the
      * number of milliseconds elapsed since the timer start.
      */
-    public void logTimer(String timerName);
+    void logTimer(String timerName);
 
     /**
      * Logs an entry with the message constructed from the given
      * <code>MessageFormat</code> pattern evaluated using the given arguments
      * and the number of milliseconds elapsed since the timer start.
      */
-    public void logTimer(String timerName, String format, Object... args);
+    void logTimer(String timerName, String format, Object... args);
 
     /**
      * Returns an <code>Iterator</code> of tracking entries.
@@ -117,11 +117,11 @@
     /**
      * Dumps the process timer entries to the given writer, one entry per line.
      */
-    public void dump(PrintWriter writer);
-    
+    void dump(PrintWriter writer);
+
     /**
      *  Call this when done processing the request - all calls except the first
-     *  one are ignored 
+     *  one are ignored
      */
-    public void done();
+    void done();
 }

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceProvider.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceProvider.java?rev=901574&r1=901573&r2=901574&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceProvider.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/resource/ResourceProvider.java
Thu Jan 21 07:14:10 2010
@@ -40,13 +40,13 @@
      * interface as services (value is
      * "org.apache.sling.api.resource.ResourceProvider").
      */
-    static final String SERVICE_NAME = ResourceProvider.class.getName();
+    String SERVICE_NAME = ResourceProvider.class.getName();
 
     /**
      * The name of the service registration property containing the root paths
      * of the resources provided by this provider (value is "provider.roots").
      */
-    static final String ROOTS = "provider.roots";
+    String ROOTS = "provider.roots";
 
     /**
      * The resource type be set on resources returned by the
@@ -56,7 +56,7 @@
      *
      * @see #listChildren(Resource)
      */
-    static final String RESOURCE_TYPE_SYNTHETIC = "sling:syntheticResourceProviderResource";
+    String RESOURCE_TYPE_SYNTHETIC = "sling:syntheticResourceProviderResource";
 
     /**
      * Returns a resource from this resource provider or <code>null</code> if

Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java?rev=901574&r1=901573&r2=901574&view=diff
==============================================================================
--- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
(original)
+++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/servlets/OptingServlet.java
Thu Jan 21 07:14:10 2010
@@ -35,11 +35,11 @@
      * willing to handle the request. If <code>false</code> is returned, the
      * request will be ignored by this servlet, and may be handled by other
      * servlets.
-     * 
+     *
      * @param request The request to examine
      * @return <code>true</code> if this servlet will handle the request,
      *         <code>false</code> otherwise
      */
-    public boolean accepts(SlingHttpServletRequest request);
+    boolean accepts(SlingHttpServletRequest request);
 
 }



Mime
View raw message