jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From resc...@apache.org
Subject svn commit: r1858356 - in /jackrabbit/trunk: jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/ jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/ ...
Date Mon, 29 Apr 2019 10:10:35 GMT
Author: reschke
Date: Mon Apr 29 10:10:35 2019
New Revision: 1858356

URL: http://svn.apache.org/viewvc?rev=1858356&view=rev
Log:
JCR-4430: fix javadoc:javadoc for jdk >= 11 - use of <tt>

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventListenerIteratorImpl.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/DefaultHighlighter.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHighlighter.java
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
    jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/util/Timer.java
    jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/observation/FilteredEventIterator.java
    jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/FileRecordLog.java
Mon Apr 29 10:10:35 2019
@@ -41,23 +41,23 @@ import java.io.ByteArrayOutputStream;
  * <blockquote>
  *   <table border="2" cellpadding="4" summary="Physical Record Layout">
  *     <tr align="center" valign="bottom" bgcolor="silver">
- *       <td><tt>Byte 1</tt></td>
- *       <td><tt>Byte 2</tt></td>
- *       <td><tt>Byte 3</tt></td>
- *       <td><tt>Byte 4</tt></td>
+ *       <td>{@code Byte 1}</td>
+ *       <td>{@code Byte 2}</td>
+ *       <td>{@code Byte 3}</td>
+ *       <td>{@code Byte 4}</td>
  *     </tr>
  *     <tr>
- *       <td align="center"><tt>'J'</tt></td>
- *       <td align="center"><tt>'L'</tt></td>
- *       <td align="center"><tt>'O'</tt></td>
- *       <td align="center"><tt>'G'</tt></td>
+ *       <td align="center">{@code 'J'}</td>
+ *       <td align="center">{@code 'L'}</td>
+ *       <td align="center">{@code 'O'}</td>
+ *       <td align="center">{@code 'G'}</td>
  *     </tr>
  *     <tr>
- *       <td align="center" colspan="2"><tt>MAJOR</tt></td>
- *       <td align="center" colspan="2"><tt>MINOR</tt></td>
+ *       <td align="center" colspan="2">{@code MAJOR}</td>
+ *       <td align="center" colspan="2">{@code MINOR}</td>
  *     </tr>
  *     <tr>
- *       <td align="center" colspan="4"><tt>START REVISION</tt></td>
+ *       <td align="center" colspan="4">{@code START REVISION}</td>
  *     </tr>
  *  </table>
  * </blockquote>

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventListenerIteratorImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventListenerIteratorImpl.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventListenerIteratorImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/EventListenerIteratorImpl.java
Mon Apr 29 10:10:35 2019
@@ -125,11 +125,11 @@ class EventListenerIteratorImpl implemen
     }
 
     /**
-     * Returns <tt>true</tt> if the iteration has more elements. (In other
-     * words, returns <tt>true</tt> if <tt>next</tt> would return
an element
+     * Returns {@code true} if the iteration has more elements. (In other
+     * words, returns {@code true} if {@code next} would return an element
      * rather than throwing an exception.)
      *
-     * @return <tt>true</tt> if the consumers has more elements.
+     * @return {@code true} if the consumers has more elements.
      */
     public boolean hasNext() {
         return (next != null);

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/DefaultHighlighter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/DefaultHighlighter.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/DefaultHighlighter.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/DefaultHighlighter.java
Mon Apr 29 10:10:35 2019
@@ -50,12 +50,12 @@ import org.apache.lucene.index.TermVecto
 public class DefaultHighlighter {
 
     /**
-     * A default value of <tt>3</tt>
+     * A default value of {@code 3}
      */
     public static final int DEFAULT_MAXFRAGMENTS = 3;
 
     /**
-     * A default value of <tt>75</tt>
+     * A default value of {@code 75}
      */
     public static final int DEFAULT_SURROUND = 75;
 
@@ -85,9 +85,9 @@ public class DefaultHighlighter {
      * @param fragmentEnd   this string is appended to the end of every
      *                      fragement.
      * @param hlStart       the string used to prepend a highlighted token, for
-     *                      example <tt>&quot;&lt;b&gt;&quot;</tt>
+     *                      example {@code &quot;&lt;b&gt;&quot;}
      * @param hlEnd         the string used to append a highlighted token, for
-     *                      example <tt>&quot;&lt;/b&gt;&quot;</tt>
+     *                      example {@code &quot;&lt;/b&gt;&quot;}
      * @param maxFragments  the maximum number of fragments
      * @param surround      the maximum number of chars surrounding a
      *                      highlighted token

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHighlighter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHighlighter.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHighlighter.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/WeightedHighlighter.java
Mon Apr 29 10:10:35 2019
@@ -67,9 +67,9 @@ public class WeightedHighlighter extends
      * @param fragmentEnd   this string is appended to the end of every
      *                      fragment.
      * @param hlStart       the string used to prepend a highlighted token, for
-     *                      example <tt>&quot;&lt;b&gt;&quot;</tt>
+     *                      example {@code &quot;&lt;b&gt;&quot;}
      * @param hlEnd         the string used to append a highlighted token, for
-     *                      example <tt>&quot;&lt;/b&gt;&quot;</tt>
+     *                      example {@code &quot;&lt;/b&gt;&quot;}
      * @param maxFragments  the maximum number of fragments
      * @param surround      the maximum number of chars surrounding a
      *                      highlighted token

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
Mon Apr 29 10:10:35 2019
@@ -1517,7 +1517,7 @@ public class SharedItemStateManager
 
     /**
      * Store modifications registered in a <code>ChangeLog</code>. The items
-     * contained in the <tt>ChangeLog</tt> are not states returned by this
+     * contained in the {@code ChangeLog} are not states returned by this
      * item state manager but rather must be reconnected to items provided
      * by this state manager.
      * <p>

Modified: jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/util/Timer.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/util/Timer.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/util/Timer.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-commons/src/main/java/org/apache/jackrabbit/util/Timer.java
Mon Apr 29 10:10:35 2019
@@ -77,8 +77,8 @@ public class Timer {
      * @param task   task to be scheduled.
      * @param delay  delay in milliseconds before task is to be executed.
      * @param period time in milliseconds between successive task executions.
-     * @throws IllegalArgumentException if <tt>delay</tt> is negative, or
-     *         <tt>delay + System.currentTimeMillis()</tt> is negative.
+     * @throws IllegalArgumentException if {@code delay} is negative, or
+     *         {@code delay + System.currentTimeMillis()} is negative.
      * @throws IllegalStateException if task was already scheduled or
      *         cancelled, timer was cancelled, or timer thread terminated.
      * @see java.util.Timer#schedule(java.util.TimerTask, long, long)

Modified: jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/observation/FilteredEventIterator.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/observation/FilteredEventIterator.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/observation/FilteredEventIterator.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/observation/FilteredEventIterator.java
Mon Apr 29 10:10:35 2019
@@ -146,11 +146,11 @@ class FilteredEventIterator implements E
     }
 
     /**
-     * Returns <tt>true</tt> if the iteration has more elements. (In other
-     * words, returns <tt>true</tt> if <tt>next</tt> would return
an element
+     * Returns {@code true} if the iteration has more elements. (In other
+     * words, returns {@code true} if {@code next} would return an element
      * rather than throwing an exception.)
      *
-     * @return <tt>true</tt> if the iterator has more elements.
+     * @return {@code true} if the iterator has more elements.
      */
     public boolean hasNext() {
         return (next != null);

Modified: jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java?rev=1858356&r1=1858355&r2=1858356&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
(original)
+++ jackrabbit/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/property/DavPropertyNameSet.java
Mon Apr 29 10:10:35 2019
@@ -78,7 +78,7 @@ public class DavPropertyNameSet extends
      * set if it is not already present.
      *
      * @param propertyName element to be added to this set.
-     * @return <tt>true</tt> if the set did not already contain the specified
+     * @return {@code true} if the set did not already contain the specified
      * element.
      */
     public boolean add(DavPropertyName propertyName) {
@@ -90,7 +90,7 @@ public class DavPropertyNameSet extends
      *
      * @param localName
      * @param namespace
-     * @return <tt>true</tt> if the set did not already contain the specified
+     * @return {@code true} if the set did not already contain the specified
      * property name.
      */
     public boolean add(String localName, Namespace namespace) {



Mime
View raw message