Fix deprecation warnings by incorrect javadocs in code commented out :-)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@932374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2010-04-09 12:12:48 +00:00
parent 48b93456e5
commit cf55de992c
1 changed files with 11 additions and 11 deletions

View File

@ -130,7 +130,7 @@ public final class NumericUtils {
return hash;
}
/**
/*
* Returns prefix coded bits after reducing the precision by <code>shift</code> 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 <code>shift</code> 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!