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/12/03 23:01:51 UTC

svn commit: r1416693 - /lucene/dev/branches/lucene4547/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleNormsFormat.java

Author: rmuir
Date: Mon Dec  3 22:01:49 2012
New Revision: 1416693

URL: http://svn.apache.org/viewvc?rev=1416693&view=rev
Log:
suffix -> extension

Modified:
    lucene/dev/branches/lucene4547/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleNormsFormat.java

Modified: lucene/dev/branches/lucene4547/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleNormsFormat.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene4547/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleNormsFormat.java?rev=1416693&r1=1416692&r2=1416693&view=diff
==============================================================================
--- lucene/dev/branches/lucene4547/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleNormsFormat.java (original)
+++ lucene/dev/branches/lucene4547/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSimpleNormsFormat.java Mon Dec  3 22:01:49 2012
@@ -41,7 +41,7 @@ import org.apache.lucene.util.BytesRef;
  */
 public class SimpleTextSimpleNormsFormat extends SimpleNormsFormat {
   // nocommit put back to len once we replace current norms format:
-  private static final String NORMS_SEG_SUFFIX = "slen";
+  private static final String NORMS_SEG_EXTENSION = "slen";
   
   @Override
   public SimpleDVConsumer normsConsumer(SegmentWriteState state) throws IOException {
@@ -62,9 +62,9 @@ public class SimpleTextSimpleNormsFormat
    */
   public static class SimpleTextSimpleNormsProducer extends SimpleTextDocValuesReader {
     public SimpleTextSimpleNormsProducer(SegmentReadState state) throws IOException {
-      // All we do is change the suffix from .dat -> .len;
+      // All we do is change the extension from .dat -> .len;
       // otherwise this is a normal simple doc values file:
-      super(state, NORMS_SEG_SUFFIX);
+      super(state, NORMS_SEG_EXTENSION);
     }
   }
   
@@ -77,9 +77,9 @@ public class SimpleTextSimpleNormsFormat
    */
   public static class SimpleTextSimpleNormsConsumer extends SimpleTextDocValuesWriter {
     public SimpleTextSimpleNormsConsumer(SegmentWriteState state) throws IOException {
-      // All we do is change the suffix from .dat -> .len;
+      // All we do is change the extension from .dat -> .len;
       // otherwise this is a normal simple doc values file:
-      super(state, NORMS_SEG_SUFFIX);
+      super(state, NORMS_SEG_EXTENSION);
     }
   }
 }