Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B5DF1200B72 for ; Fri, 26 Aug 2016 17:15:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B4B11160AB6; Fri, 26 Aug 2016 15:15:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 078CA160A94 for ; Fri, 26 Aug 2016 17:15:19 +0200 (CEST) Received: (qmail 10350 invoked by uid 500); 26 Aug 2016 15:15:19 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 10341 invoked by uid 99); 26 Aug 2016 15:15:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Aug 2016 15:15:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7A667C216A for ; Fri, 26 Aug 2016 15:15:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.281 X-Spam-Level: * X-Spam-Status: No, score=1.281 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-0.519] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id rqDHl11nyJBR for ; Fri, 26 Aug 2016 15:15:17 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 23E8A5F610 for ; Fri, 26 Aug 2016 15:15:17 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 59FC0E047B for ; Fri, 26 Aug 2016 15:15:16 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 50D533A0373 for ; Fri, 26 Aug 2016 15:15:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1757877 - in /directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util: BitString.java Oid.java Date: Fri, 26 Aug 2016 15:15:16 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160826151516.50D533A0373@svn01-us-west.apache.org> archived-at: Fri, 26 Aug 2016 15:15:20 -0000 Author: elecharny Date: Fri Aug 26 15:15:14 2016 New Revision: 1757877 URL: http://svn.apache.org/viewvc?rev=1757877&view=rev Log: Fixed the Javadoc Modified: directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java Modified: directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java?rev=1757877&r1=1757876&r2=1757877&view=diff ============================================================================== --- directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java (original) +++ directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/BitString.java Fri Aug 26 15:15:14 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.
+ * MSB on the right.
* 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 *

Modified: directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java?rev=1757877&r1=1757876&r2=1757877&view=diff
==============================================================================
--- directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java (original)
+++ directory/shared/trunk/asn1/api/src/main/java/org/apache/directory/api/asn1/util/Oid.java Fri Aug 26 15:15:14 2016
@@ -57,7 +57,7 @@ import org.apache.directory.api.i18n.I18
  * 

8.19.4 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: - *
(X*40) + Y
+ *
(X*40) + Y
* where X is the value of the first object identifier component and Y is the * value of the second object identifier component. NOTE – This packing of * the first two object identifier components recognizes that only three values @@ -1368,7 +1368,6 @@ public final class Oid * to prevent the creation of copies of the actual byte[]. * * @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 ) {