mirror of https://github.com/apache/lucene.git
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:
parent
36bf2cd595
commit
bd14247962
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue