LUCENE-3606: deprecate these two methods

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3606@1210274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-12-04 23:14:46 +00:00
parent 6bb6a81edd
commit e1918d8e9c
1 changed files with 3 additions and 5 deletions

View File

@ -337,9 +337,7 @@ public final class SegmentInfo implements Cloneable {
}
/**
* Returns true if this field for this segment has saved a separate norms file (_<segment>_N.sX).
*
* @param fieldNumber the field index to check
* @deprecated separate norms are not supported in >= 4.0
*/
public boolean hasSeparateNorms(int fieldNumber) {
if (normGen == null) {
@ -351,9 +349,9 @@ public final class SegmentInfo implements Cloneable {
}
/**
* Returns true if any fields in this segment have separate norms.
* @deprecated separate norms are not supported in >= 4.0
*/
public boolean hasSeparateNorms() {
boolean hasSeparateNorms() {
if (normGen == null) {
return false;
} else {