added constant Version so on the next upgrade this only needs to be updated in one location

Former-commit-id: 2131a7bae9cc75f7d7d727f0ed191f6d90d426d2
This commit is contained in:
Jeremy Long
2013-11-17 08:08:59 -05:00
parent df0f05197a
commit 6d7de79fa9

View File

@@ -18,6 +18,8 @@
*/
package org.owasp.dependencycheck.data.lucene;
import org.apache.lucene.util.Version;
/**
* <p>Lucene utils is a set of utilize written to make constructing Lucene
* queries simpler.</p>
@@ -26,6 +28,12 @@ package org.owasp.dependencycheck.data.lucene;
*/
public final class LuceneUtils {
/**
* The current version of Lucene being used. Declaring this one place so an
* upgrade doesn't require hunting through the code base.
*/
public final static Version CURRENT_VERSION = Version.LUCENE_45;
/**
* Private constructor as this is a utility class.
*/