directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1757879 - in /directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util: BitString.java Oid.java
Date Fri, 26 Aug 2016 15:15:35 GMT
Author: elecharny
Date: Fri Aug 26 15:15:34 2016
New Revision: 1757879

URL: http://svn.apache.org/viewvc?rev=1757879&view=rev
Log:
Fixed Javadoc

Modified:
    directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java
    directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java

Modified: directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java?rev=1757879&r1=1757878&r2=1757879&view=diff
==============================================================================
--- directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java
(original)
+++ directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java
Fri Aug 26 15:15:34 2016
@@ -200,7 +200,7 @@ public class BitString
     /**
      * Get the bit stored into the BitString at a specific position.
      * The bits are stored from left to right, the LSB on the left and the
-     * MSB on the right.<br/>
+     * MSB on the right.<br>
      * For instance, if we have 10 bits, then they are coded as
      * b0 b1 b2 b3 - b4 b5 b6 b7 - b8 b9 x x - x x x x
      * <pre>

Modified: directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java?rev=1757879&r1=1757878&r2=1757879&view=diff
==============================================================================
--- directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
(original)
+++ directory/shared/branches/shared-value/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
Fri Aug 26 15:15:34 2016
@@ -23,6 +23,7 @@ package org.apache.directory.api.asn1.ut
 import java.io.IOException;
 import java.io.OutputStream;
 import java.math.BigInteger;
+import java.nio.ByteBuffer;
 import java.util.Arrays;
 
 import org.apache.directory.api.asn1.DecoderException;
@@ -57,7 +58,7 @@ import org.apache.directory.api.i18n.I18
  * <p><b>8.19.4</b> The numerical value of the first subidentifier is derived

  * from the values of the first two object identifier components in the object 
  * identifier value being encoded, using the formula:
- * <br /><code>(X*40) + Y</code><br /> 
+ * <br><code>(X*40) + Y</code><br> 
  * where X is the value of the first object identifier component and Y is the 
  * value of the second object identifier component. <i>NOTE – This packing of

  * the first two object identifier components recognizes that only three values 
@@ -1368,9 +1369,8 @@ public final class Oid
      * to prevent the creation of copies of the actual <code>byte[]</code>.
      * 
      * @param buffer The buffer to write the bytes into
-     * @throws IOException If we can't inject the OID into a ByteBuffer 
      */
-    public void writeBytesTo( java.nio.ByteBuffer buffer )
+    public void writeBytesTo( ByteBuffer buffer )
     {
         buffer.put( oidBytes );
     }



Mime
View raw message