wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r821210 - in /incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal: contexts/ handlers/ servlet/
Date Sat, 03 Oct 2009 00:57:53 GMT
Author: bluk
Date: Sat Oct  3 00:57:52 2009
New Revision: 821210

URL: http://svn.apache.org/viewvc?rev=821210&view=rev
Log:
Make loggers static for performance

Thanks Doug Larson.

Modified:
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/contexts/HttpHeadersImpl.java
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/CreateInvocationParametersHandler.java
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/FindResourceMethodHandler.java
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/AbstractRestServlet.java
    incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/RestFilter.java

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/contexts/HttpHeadersImpl.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/contexts/HttpHeadersImpl.java?rev=821210&r1=821209&r2=821210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/contexts/HttpHeadersImpl.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/contexts/HttpHeadersImpl.java
Sat Oct  3 00:57:52 2009
@@ -50,7 +50,7 @@
 
 public class HttpHeadersImpl implements HttpHeaders {
 
-    private final Logger                   logger = LoggerFactory.getLogger(HttpHeadersImpl.class);
+    private final static Logger            logger = LoggerFactory.getLogger(HttpHeadersImpl.class);
 
     private MessageContext                 msgContext;
     private MultivaluedMap<String, String> headers;

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/CreateInvocationParametersHandler.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/CreateInvocationParametersHandler.java?rev=821210&r1=821209&r2=821210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/CreateInvocationParametersHandler.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/CreateInvocationParametersHandler.java
Sat Oct  3 00:57:52 2009
@@ -33,7 +33,7 @@
 
 public class CreateInvocationParametersHandler implements RequestHandler {
 
-    private Logger logger = LoggerFactory.getLogger(CreateInvocationParametersHandler.class);
+    private static Logger logger = LoggerFactory.getLogger(CreateInvocationParametersHandler.class);
 
     public void handleRequest(MessageContext context, HandlersChain chain) throws Throwable
{
         SearchResult result = context.getAttribute(SearchResult.class);

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/FindResourceMethodHandler.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/FindResourceMethodHandler.java?rev=821210&r1=821209&r2=821210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/FindResourceMethodHandler.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/handlers/FindResourceMethodHandler.java
Sat Oct  3 00:57:52 2009
@@ -49,9 +49,9 @@
 
 public class FindResourceMethodHandler implements RequestHandler {
 
-    private boolean      isContinuedSearchPolicy;
+    private boolean             isContinuedSearchPolicy;
 
-    private final Logger logger = LoggerFactory.getLogger(FindResourceMethodHandler.class);
+    private static final Logger logger = LoggerFactory.getLogger(FindResourceMethodHandler.class);
 
     public void handleRequest(MessageContext context, HandlersChain chain) throws Throwable
{
 

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/AbstractRestServlet.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/AbstractRestServlet.java?rev=821210&r1=821209&r2=821210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/AbstractRestServlet.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/AbstractRestServlet.java
Sat Oct  3 00:57:52 2009
@@ -31,7 +31,7 @@
  */
 public abstract class AbstractRestServlet extends HttpServlet {
 
-    private final Logger        logger                      =
+    private static final Logger logger                      =
                                                                 LoggerFactory
                                                                     .getLogger(AbstractRestServlet.class);
 

Modified: incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/RestFilter.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/RestFilter.java?rev=821210&r1=821209&r2=821210&view=diff
==============================================================================
--- incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/RestFilter.java
(original)
+++ incubator/wink/trunk/wink-server/src/main/java/org/apache/wink/server/internal/servlet/RestFilter.java
Sat Oct  3 00:57:52 2009
@@ -48,13 +48,15 @@
  */
 public class RestFilter implements Filter {
 
-    private RestServlet  restServlet;
+    private RestServlet         restServlet;
 
-    private final Logger logger = LoggerFactory.getLogger(RestFilter.class);
+    private static final Logger logger = LoggerFactory.getLogger(RestFilter.class);
 
     private static class FilteredHttpServletResponse extends HttpServletResponseWrapper {
 
-        private final Logger logger = LoggerFactory.getLogger(FilteredHttpServletResponse.class);
+        private static final Logger logger =
+                                               LoggerFactory
+                                                   .getLogger(FilteredHttpServletResponse.class);
 
         public FilteredHttpServletResponse(HttpServletResponse response) {
             super(response);



Mime
View raw message