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

Former-commit-id: 172abf4686300b258b93026e404276fbf46f7dd0
This commit is contained in:
Jeremy Long
2013-11-17 08:08:59 -05:00
parent ad3ad81c1e
commit fb55b9db17

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.
*/