Return-Path: Delivered-To: apmail-lucene-java-commits-archive@www.apache.org Received: (qmail 23649 invoked from network); 9 Apr 2010 12:13:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 12:13:10 -0000 Received: (qmail 85133 invoked by uid 500); 9 Apr 2010 12:13:10 -0000 Delivered-To: apmail-lucene-java-commits-archive@lucene.apache.org Received: (qmail 85023 invoked by uid 500); 9 Apr 2010 12:13:10 -0000 Mailing-List: contact java-commits-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-commits@lucene.apache.org Received: (qmail 85016 invoked by uid 99); 9 Apr 2010 12:13:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 12:13:10 +0000 X-ASF-Spam-Status: No, hits=-1246.9 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 12:13:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D3C04238897A; Fri, 9 Apr 2010 12:12:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r932374 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/NumericUtils.java Date: Fri, 09 Apr 2010 12:12:48 -0000 To: java-commits@lucene.apache.org From: uschindler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100409121248.D3C04238897A@eris.apache.org> Author: uschindler Date: Fri Apr 9 12:12:48 2010 New Revision: 932374 URL: http://svn.apache.org/viewvc?rev=932374&view=rev Log: Fix deprecation warnings by incorrect javadocs in code commented out :-) Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/NumericUtils.java Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/NumericUtils.java URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/NumericUtils.java?rev=932374&r1=932373&r2=932374&view=diff ============================================================================== --- lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/NumericUtils.java (original) +++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/util/NumericUtils.java Fri Apr 9 12:12:48 2010 @@ -130,7 +130,7 @@ public final class NumericUtils { return hash; } - /** + /* * Returns prefix coded bits after reducing the precision by shift bits. * This is method is used by {@link LongRangeBuilder}. * @param val the numeric value @@ -144,7 +144,7 @@ public final class NumericUtils { return buffer.utf8ToString(); }*/ - /** + /* * This is a convenience method, that returns prefix coded bits of a long without * reducing the precision. It can be used to store the full precision value as a * stored field in index. @@ -190,7 +190,7 @@ public final class NumericUtils { return hash; } - /** + /* * Returns prefix coded bits after reducing the precision by shift bits. * This is method is used by {@link IntRangeBuilder}. * @param val the numeric value @@ -204,7 +204,7 @@ public final class NumericUtils { return buffer.utf8ToString(); }*/ - /** + /* * This is a convenience method, that returns prefix coded bits of an int without * reducing the precision. It can be used to store the full precision value as a * stored field in index. @@ -216,7 +216,7 @@ public final class NumericUtils { return intToPrefixCoded(val, 0); }*/ - /** + /* * Returns a long from prefixCoded characters. * Rightmost bits will be zero for lower precision codes. * This method can be used to decode e.g. a stored field. @@ -278,7 +278,7 @@ public final class NumericUtils { return (sortableBits << getPrefixCodedLongShift(val)) ^ 0x8000000000000000L; } - /** + /* * Returns an int from prefixCoded characters. * Rightmost bits will be zero for lower precision codes. * This method can be used to decode a term's value. @@ -292,7 +292,7 @@ public final class NumericUtils { return prefixCodedToInt(new BytesRef(prefixCoded)); }*/ - /** + /* * Returns an int from prefixCoded bytes. * Rightmost bits will be zero for lower precision codes. * This method can be used to decode a term's value. @@ -329,7 +329,7 @@ public final class NumericUtils { return f; } - /** + /* * Convenience method: this just returns: * longToPrefixCoded(doubleToSortableLong(val)) * @deprecated This method is no longer needed! @@ -348,7 +348,7 @@ public final class NumericUtils { return Double.longBitsToDouble(val); } - /** + /* * Convenience method: this just returns: * sortableLongToDouble(prefixCodedToLong(val)) * @deprecated This method is no longer needed! @@ -371,7 +371,7 @@ public final class NumericUtils { return f; } - /** + /* * Convenience method: this just returns: * intToPrefixCoded(floatToSortableInt(val)) * @deprecated This method is no longer needed! @@ -390,7 +390,7 @@ public final class NumericUtils { return Float.intBitsToFloat(val); } - /** + /* * Convenience method: this just returns: * sortableIntToFloat(prefixCodedToInt(val)) * @deprecated This method is no longer needed!