You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/06/09 00:46:24 UTC
svn commit: r1348269 - in /lucene/dev/branches/branch_4x: ./
lucene/core/src/java/org/apache/lucene/util/Constants.java
Author: rmuir
Date: Fri Jun 8 22:46:24 2012
New Revision: 1348269
URL: http://svn.apache.org/viewvc?rev=1348269&view=rev
Log:
add javadocs to the two versions in Constants since its confusing what is what
Modified:
lucene/dev/branches/branch_4x/ (props changed)
lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/Constants.java
Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/Constants.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/Constants.java?rev=1348269&r1=1348268&r2=1348269&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/Constants.java (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/org/apache/lucene/util/Constants.java Fri Jun 8 22:46:24 2012
@@ -104,8 +104,14 @@ public final class Constants {
// NOTE: we track per-segment version as a String with the "X.Y" format, e.g.
// "4.0", "3.1", "3.0". Therefore when we change this constant, we should keep
// the format.
+ /**
+ * This is the internal Lucene version, recorded into each segment.
+ */
public static final String LUCENE_MAIN_VERSION = ident("4.0");
+ /**
+ * This is the Lucene version for display purposes.
+ */
public static final String LUCENE_VERSION;
static {
Package pkg = LucenePackage.get();