hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rola...@apache.org
Subject svn commit: r550078 - /jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java
Date Sat, 23 Jun 2007 18:30:32 GMT
Author: rolandw
Date: Sat Jun 23 11:30:31 2007
New Revision: 550078

URL: http://svn.apache.org/viewvc?view=rev&rev=550078
Log:
Made cookie.SM an interface as long as it has no methods. It looked ugly on test coverage
reports with its 0% of coverage.

Modified:
    jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java

Modified: jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java?view=diff&rev=550078&r1=550077&r2=550078
==============================================================================
--- jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java
(original)
+++ jakarta/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/SM.java
Sat Jun 23 11:30:31 2007
@@ -38,13 +38,10 @@
  *
  * @since 4.0
  */
-public final class SM {
+public interface SM {
 
     public static final String COOKIE= "Cookie";
 
     public static final String SET_COOKIE = "Set-Cookie";
-    
-    private SM() {
-    }
        
 }



Mime
View raw message