directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1039474 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
Date Fri, 26 Nov 2010 17:35:30 GMT
Author: kayyagari
Date: Fri Nov 26 17:35:29 2010
New Revision: 1039474

URL: http://svn.apache.org/viewvc?rev=1039474&view=rev
Log:
o fixed a NPE in toString() method (this error popped up while running with logging enabled)

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java?rev=1039474&r1=1039473&r2=1039474&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/messages/KrbError.java
Fri Nov 26 17:35:29 2010
@@ -685,7 +685,7 @@ public class KrbError extends KerberosMe
             sb.append( "    cTime: " ).append( cTime ).append( '\n' );
         }
 
-        if ( cusec > 0 )
+        if ( cusec != null )
         {
             sb.append( "    cusec: " ).append( cusec ).append( '\n' );
         }



Mime
View raw message