You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by la...@apache.org on 2013/08/28 01:12:44 UTC

svn commit: r1518028 - /hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java

Author: larsh
Date: Tue Aug 27 23:12:44 2013
New Revision: 1518028

URL: http://svn.apache.org/r1518028
Log:
HBASE-9356 [0.94] SecureServer.INSECURE_VERSIONS is declared incorrectly

Modified:
    hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java

Modified: hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java?rev=1518028&r1=1518027&r2=1518028&view=diff
==============================================================================
--- hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java (original)
+++ hbase/branches/0.94/security/src/main/java/org/apache/hadoop/hbase/ipc/SecureServer.java Tue Aug 27 23:12:44 2013
@@ -86,7 +86,7 @@ public abstract class SecureServer exten
   // 3 : Introduce the protocol into the RPC connection header
   // 4 : Introduced SASL security layer
   public static final byte CURRENT_VERSION = 4;
-  public static final Set<Byte> INSECURE_VERSIONS = ImmutableSet.of((byte) 3);
+  public static final Set<Integer> INSECURE_VERSIONS = ImmutableSet.of(3);
 
   public static final Log LOG = LogFactory.getLog(SecureServer.class);
   private static final Log AUDITLOG = LogFactory.getLog("SecurityLogger." +