You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ro...@apache.org on 2019/01/15 10:38:24 UTC

[lucene-solr] 05/09: Remove unused version constants

This is an automated email from the ASF dual-hosted git repository.

romseygeek pushed a commit to branch master-deprecations
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit dc333124064bfd1ef6b9e0fe71a64f670851b2c0
Author: Alan Woodward <ro...@apache.org>
AuthorDate: Mon Jan 14 17:46:00 2019 +0000

    Remove unused version constants
---
 lucene/core/src/java/org/apache/lucene/util/Constants.java | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/lucene/core/src/java/org/apache/lucene/util/Constants.java b/lucene/core/src/java/org/apache/lucene/util/Constants.java
index 653c1e3..5678f30 100644
--- a/lucene/core/src/java/org/apache/lucene/util/Constants.java
+++ b/lucene/core/src/java/org/apache/lucene/util/Constants.java
@@ -88,19 +88,5 @@ public final class Constants {
   public static final boolean JRE_IS_MINIMUM_JAVA8 = JVM_MAJOR_VERSION > 1 || (JVM_MAJOR_VERSION == 1 && JVM_MINOR_VERSION >= 8);
   public static final boolean JRE_IS_MINIMUM_JAVA9 = JVM_MAJOR_VERSION > 1 || (JVM_MAJOR_VERSION == 1 && JVM_MINOR_VERSION >= 9);
   public static final boolean JRE_IS_MINIMUM_JAVA11 = JVM_MAJOR_VERSION > 1 || (JVM_MAJOR_VERSION == 1 && JVM_MINOR_VERSION >= 11);
-
-  /**
-   * This is the internal Lucene version, including bugfix versions, recorded into each segment.
-   * @deprecated Use {@link Version#LATEST}
-   */
-  @Deprecated
-  public static final String LUCENE_MAIN_VERSION = Version.LATEST.toString();
-  
-  /**
-   * Don't use this constant because the name is not self-describing!
-   * @deprecated Use {@link Version#LATEST}
-   */
-  @Deprecated
-  public static final String LUCENE_VERSION = Version.LATEST.toString();
   
 }