You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2013/12/07 12:18:05 UTC

svn commit: r1548870 - /lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/SimpleFSLockFactory.java

Author: uschindler
Date: Sat Dec  7 11:18:05 2013
New Revision: 1548870

URL: http://svn.apache.org/r1548870
Log:
Better fix for the broken link using the native javadocs linking instead of HTML links: This makes the target of the link just work with compile version

Modified:
    lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/SimpleFSLockFactory.java

Modified: lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/SimpleFSLockFactory.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/SimpleFSLockFactory.java?rev=1548870&r1=1548869&r2=1548870&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/SimpleFSLockFactory.java (original)
+++ lucene/dev/trunk/lucene/core/src/java/org/apache/lucene/store/SimpleFSLockFactory.java Sat Dec  7 11:18:05 2013
@@ -24,9 +24,8 @@ import java.io.IOException;
  * <p>Implements {@link LockFactory} using {@link
  * File#createNewFile()}.</p>
  *
- * <p><b>NOTE:</b> the <a target="_top"
- * href="http://docs.oracle.com/javase/7/docs/api/java/io/File.html#createNewFile()">javadocs
- * for <code>File.createNewFile</code></a> contain a vague
+ * <p><b>NOTE:</b> the {@linkplain File#createNewFile() javadocs
+ * for <code>File.createNewFile()</code>} contain a vague
  * yet spooky warning about not using the API for file
  * locking.  This warning was added due to <a target="_top"
  * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4676183">this