directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1778704 - in /directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components: AuthorizationDataEntry.java PrincipalName.java
Date Sat, 14 Jan 2017 01:54:34 GMT
Author: elecharny
Date: Sat Jan 14 01:54:34 2017
New Revision: 1778704

URL: http://svn.apache.org/viewvc?rev=1778704&view=rev
Log:
Used Strings.EMPTY_BYTES instead of StringConstants.EMPTY_BYTES

Modified:
    directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/AuthorizationDataEntry.java
    directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PrincipalName.java

Modified: directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/AuthorizationDataEntry.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/AuthorizationDataEntry.java?rev=1778704&r1=1778703&r2=1778704&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/AuthorizationDataEntry.java
(original)
+++ directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/AuthorizationDataEntry.java
Sat Jan 14 01:54:34 2017
@@ -22,7 +22,6 @@ package org.apache.directory.shared.kerb
 
 import java.util.Arrays;
 
-import org.apache.directory.api.util.StringConstants;
 import org.apache.directory.api.util.Strings;
 import org.apache.directory.shared.kerberos.codec.types.AuthorizationType;
 
@@ -92,7 +91,7 @@ public class AuthorizationDataEntry
     {
         if ( Strings.isEmpty( adData ) )
         {
-            return StringConstants.EMPTY_BYTES;
+            return Strings.EMPTY_BYTES;
         }
         else
         {
@@ -121,7 +120,7 @@ public class AuthorizationDataEntry
     {
         if ( Strings.isEmpty( adData ) )
         {
-            this.adData = StringConstants.EMPTY_BYTES;
+            this.adData = Strings.EMPTY_BYTES;
         }
         else
         {

Modified: directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PrincipalName.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PrincipalName.java?rev=1778704&r1=1778703&r2=1778704&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PrincipalName.java
(original)
+++ directory/apacheds/branches/apacheds-value/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/components/PrincipalName.java
Sat Jan 14 01:54:34 2017
@@ -98,7 +98,6 @@ import org.apache.directory.api.asn1.Enc
 import org.apache.directory.api.asn1.ber.tlv.BerValue;
 import org.apache.directory.api.asn1.ber.tlv.TLV;
 import org.apache.directory.api.asn1.ber.tlv.UniversalTag;
-import org.apache.directory.api.util.StringConstants;
 import org.apache.directory.api.util.Strings;
 import org.apache.directory.server.i18n.I18n;
 import org.apache.directory.shared.kerberos.KerberosUtils;
@@ -399,7 +398,7 @@ public class PrincipalName implements As
                 }
                 else
                 {
-                    nameBytes.add( StringConstants.EMPTY_BYTES );
+                    nameBytes.add( Strings.EMPTY_BYTES );
                     principalStringsSeqLength += 1 + 1;
                 }
             }



Mime
View raw message