harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r822498 - /harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ProtocolVersion.java
Date Tue, 06 Oct 2009 21:05:12 GMT
Author: tellison
Date: Tue Oct  6 21:05:11 2009
New Revision: 822498

URL: http://svn.apache.org/viewvc?rev=822498&view=rev
Log:
Mark protocol version constants as final so they cannot be modified by others.

Modified:
    harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ProtocolVersion.java

Modified: harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ProtocolVersion.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ProtocolVersion.java?rev=822498&r1=822497&r2=822498&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ProtocolVersion.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ProtocolVersion.java
Tue Oct  6 21:05:11 2009
@@ -112,13 +112,13 @@
     /**
      * SSL 3.0 protocol version
      */
-    public static ProtocolVersion SSLv3 = new ProtocolVersion("SSLv3",
+    public static final ProtocolVersion SSLv3 = new ProtocolVersion("SSLv3",
             new byte[] { 3, 0 });
 
     /**
      * TLS 1.0 protocol version
      */
-    public static ProtocolVersion TLSv1 = new ProtocolVersion("TLSv1",
+    public static final ProtocolVersion TLSv1 = new ProtocolVersion("TLSv1",
             new byte[] { 3, 1 });
 
     static {



Mime
View raw message