LUCENE-4055: clear nocommit, normType can be null if there are no postings (3.x does fileExists)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4055@1341462 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2012-05-22 13:15:31 +00:00
parent f330cf65ad
commit 6fef20d76a
1 changed files with 0 additions and 2 deletions

View File

@ -102,8 +102,6 @@ public final class FieldInfo {
assert normType == null;
assert indexOptions == IndexOptions.DOCS_AND_FREQS_AND_POSITIONS;
} else {
// nocommit trips:
//assert omitNorms || normType != null;
assert indexOptions != null;
}