jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1364654 - in /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene: FieldFactory.java TermFactory.java
Date Mon, 23 Jul 2012 14:41:05 GMT
Author: mduerig
Date: Mon Jul 23 14:41:04 2012
New Revision: 1364654

URL: http://svn.apache.org/viewvc?rev=1364654&view=rev
Log:
OAK-202 Simplify the code when possible
use @code instead of <code />

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/FieldFactory.java
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/TermFactory.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/FieldFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/FieldFactory.java?rev=1364654&r1=1364653&r2=1364654&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/FieldFactory.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/FieldFactory.java
Mon Jul 23 14:41:04 2012
@@ -16,14 +16,15 @@
  */
 package org.apache.jackrabbit.oak.plugins.lucene;
 
-import static org.apache.jackrabbit.oak.plugins.lucene.FieldNames.PATH;
-import static org.apache.lucene.document.Field.Store.*;
-
 import org.apache.lucene.document.Field;
 import org.apache.lucene.document.StringField;
 
+import static org.apache.jackrabbit.oak.plugins.lucene.FieldNames.PATH;
+import static org.apache.lucene.document.Field.Store.NO;
+import static org.apache.lucene.document.Field.Store.YES;
+
 /**
- * <code>FieldFactory</code> is a factory for <code>Field</code>
instances with
+ * {@code FieldFactory} is a factory for <code>Field</code> instances with
  * frequently used fields.
  */
 public final class FieldFactory {

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/TermFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/TermFactory.java?rev=1364654&r1=1364653&r2=1364654&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/TermFactory.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/TermFactory.java
Mon Jul 23 14:41:04 2012
@@ -19,7 +19,7 @@ package org.apache.jackrabbit.oak.plugin
 import org.apache.lucene.index.Term;
 
 /**
- * <code>TermFactory</code> is a factory for <code>Term</code> instances
with
+ * {@code TermFactory} is a factory for <code>Term</code> instances with
  * frequently used field names.
  */
 public final class TermFactory {
@@ -31,9 +31,9 @@ public final class TermFactory {
     }
 
     /**
-     * Creates a Term with the given <code>path</code> value and with a field
+     * Creates a Term with the given {@code path} value and with a field
      * name {@link FieldNames#PATH}.
-     * 
+     *
      * @param path
      *            the path.
      * @return the path term.



Mime
View raw message