directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r778791 - /directory/shared/trunk/asn1/src/main/java/org/apache/directory/shared/asn1/der/DERInteger.java
Date Tue, 26 May 2009 16:40:14 GMT
Author: elecharny
Date: Tue May 26 16:40:14 2009
New Revision: 778791

URL: http://svn.apache.org/viewvc?rev=778791&view=rev
Log:
Fix for DIRSERVER-1351

Modified:
    directory/shared/trunk/asn1/src/main/java/org/apache/directory/shared/asn1/der/DERInteger.java

Modified: directory/shared/trunk/asn1/src/main/java/org/apache/directory/shared/asn1/der/DERInteger.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1/src/main/java/org/apache/directory/shared/asn1/der/DERInteger.java?rev=778791&r1=778790&r2=778791&view=diff
==============================================================================
--- directory/shared/trunk/asn1/src/main/java/org/apache/directory/shared/asn1/der/DERInteger.java
(original)
+++ directory/shared/trunk/asn1/src/main/java/org/apache/directory/shared/asn1/der/DERInteger.java
Tue May 26 16:40:14 2009
@@ -60,6 +60,17 @@
     }
 
 
+    /**
+     * Lazy accessor
+     * 
+     * @return BigInteger value
+     */
+    public BigInteger bigIntValue() 
+    {
+        return new BigInteger( value );
+    }
+    
+    
     private static int octetToInt( byte[] bytes )
     {
         return new BigInteger( bytes ).intValue();



Mime
View raw message