jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1104070 - in /jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav: DavCompliance.java DavMethods.java
Date Tue, 17 May 2011 09:01:34 GMT
Author: angela
Date: Tue May 17 09:01:34 2011
New Revision: 1104070

URL: http://svn.apache.org/viewvc?rev=1104070&view=rev
Log:
mark final and avoid instantiation

Modified:
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavCompliance.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavCompliance.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavCompliance.java?rev=1104070&r1=1104069&r2=1104070&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavCompliance.java
(original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavCompliance.java
Tue May 17 09:01:34 2011
@@ -16,16 +16,16 @@
  */
 package org.apache.jackrabbit.webdav;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 /**
  * <code>DavCompliance</code> defines constants for the various compliance
  * classes defined RFC 2518, RFC 4918 and it's extensions.
  */
 public final class DavCompliance {
 
-    private static Logger log = LoggerFactory.getLogger(DavCompliance.class);
+    /**
+     * Avoid instantiation
+     */
+    private DavCompliance() {}
 
     // RFC 2518
     public static final String _1_ = "1";

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java?rev=1104070&r1=1104069&r2=1104070&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java
(original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/DavMethods.java
Tue May 17 09:01:34 2011
@@ -16,18 +16,18 @@
  */
 package org.apache.jackrabbit.webdav;
 
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
 import java.util.HashMap;
 import java.util.Map;
 
 /**
  * <code>DavMethods</code> defines constants for the WebDAV METHODS.
  */
-public class DavMethods {
+public final class DavMethods {
 
-    private static Logger log = LoggerFactory.getLogger(DavMethods.class);
+    /**
+     * Avoid instantiation
+     */
+    private DavMethods() {}
 
     /**
      * A map of WebDAV METHODS



Mime
View raw message