LUCENE-3161: add workaround for java5-only JDK bug

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1129465 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-05-31 02:11:38 +00:00
parent 36bf2cd595
commit bd14247962
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ package org.apache.lucene.util;
* change the version at search-time, but instead also adjust
* your indexing code to match, and re-index.
*/
// remove me when java 5 is no longer supported
// this is a workaround for a JDK bug that wrongly emits a warning.
@SuppressWarnings("dep-ann")
public enum Version {
/**
* Match settings and bugs in Lucene's 3.0 release.