You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Uwe Schindler <uw...@thetaphi.de> on 2010/10/30 21:10:28 UTC
RE: svn commit: r1029138 - in /lucene/java/branches/lucene_3_0/src/java/org/apache/lucene: index/IndexWriter.java store/MMapDirectory.java store/NIOFSDirectory.java
At least with Java 1.4 and 1.5 this produced no warnings. Javadocs pass for me totally clean. So I was fine during release, else I would have changed this already. As release master I only take care and of course I only compile with Java 1.4/1.5 for 2.9/3.0.
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de
> -----Original Message-----
> From: rmuir@apache.org [mailto:rmuir@apache.org]
> Sent: Saturday, October 30, 2010 8:13 PM
> To: java-commits@lucene.apache.org
> Subject: svn commit: r1029138 - in
> /lucene/java/branches/lucene_3_0/src/java/org/apache/lucene:
> index/IndexWriter.java store/MMapDirectory.java store/NIOFSDirectory.java
>
> Author: rmuir
> Date: Sat Oct 30 18:13:22 2010
> New Revision: 1029138
>
> URL: http://svn.apache.org/viewvc?rev=1029138&view=rev
> Log:
> clear javadocs warnings
>
> Modified:
>
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/IndexWri
> ter.java
>
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/MMapDir
> ectory.java
>
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/NIOFSDir
> ectory.java
>
> Modified:
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/IndexWri
> ter.java
> URL:
> http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0/src/java/org/a
> pache/lucene/index/IndexWriter.java?rev=1029138&r1=1029137&r2=1029138
> &view=diff
> ================================================================
> ==============
> ---
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/IndexWri
> ter.java (original)
> +++ lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/index/Ind
> +++ exWriter.java Sat Oct 30 18:13:22 2010
> @@ -1307,7 +1307,7 @@ public class IndexWriter implements Clos
> }
> }
>
> - /** @see #setReaderTermsIndexDivisor() */
> + /** @see #setReaderTermsIndexDivisor */
> public int getReaderTermsIndexDivisor() {
> ensureOpen();
> return readerTermsIndexDivisor;
>
> Modified:
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/MMapDir
> ectory.java
> URL:
> http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0/src/java/org/a
> pache/lucene/store/MMapDirectory.java?rev=1029138&r1=1029137&r2=1029
> 138&view=diff
> ================================================================
> ==============
> ---
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/MMapDir
> ectory.java (original)
> +++ lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/MMa
> +++ pDirectory.java Sat Oct 30 18:13:22 2010
> @@ -22,6 +22,7 @@ import java.io.File;
> import java.io.RandomAccessFile;
> import java.nio.ByteBuffer;
> import java.nio.BufferUnderflowException;
> +import java.nio.channels.ClosedChannelException; // javadoc @link
> import java.nio.channels.FileChannel;
> import java.nio.channels.FileChannel.MapMode;
>
>
> Modified:
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/NIOFSDir
> ectory.java
> URL:
> http://svn.apache.org/viewvc/lucene/java/branches/lucene_3_0/src/java/org/a
> pache/lucene/store/NIOFSDirectory.java?rev=1029138&r1=1029137&r2=10291
> 38&view=diff
> ================================================================
> ==============
> ---
> lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/NIOFSDir
> ectory.java (original)
> +++ lucene/java/branches/lucene_3_0/src/java/org/apache/lucene/store/NIO
> +++ FSDirectory.java Sat Oct 30 18:13:22 2010
> @@ -20,6 +20,7 @@ package org.apache.lucene.store; import java.io.File;
> import java.io.IOException; import java.nio.ByteBuffer;
> +import java.nio.channels.ClosedChannelException; // javadoc @link
> import java.nio.channels.FileChannel;
> import java.util.concurrent.Future; // javadoc
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: svn commit: r1029138 - in /lucene/java/branches/lucene_3_0/src/java/org/apache/lucene:
index/IndexWriter.java store/MMapDirectory.java store/NIOFSDirectory.java
Posted by Robert Muir <rc...@gmail.com>.
On Sat, Oct 30, 2010 at 3:10 PM, Uwe Schindler <uw...@thetaphi.de> wrote:
> At least with Java 1.4 and 1.5 this produced no warnings. Javadocs pass for me totally clean. So I was fine during release, else I would have changed this already. As release master I only take care and of course I only compile with Java 1.4/1.5 for 2.9/3.0.
>
I think you are wrong. See below, thats why i committed.
C:\Users\rmuir\workspace>svn co -r1029137
http://svn.apache.org/repos/asf/lucene/java/branches/lucene_3_0
warnings
C:\Users\rmuir\workspace\warnings>set PATH=c:\program
files\java\jdk1.5.0_22\bin;%PATH%
C:\Users\rmuir\workspace\warnings>java -version
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_22-b03, mixed mode)
C:\Users\rmuir\workspace\warnings>ant javadocs-core
Buildfile: build.xml
javadocs-core:
[mkdir] Created dir: C:\Users\rmuir\workspace\warnings\build\docs\api\core
[javadoc] Generating Javadoc
[javadoc] Javadoc execution
[javadoc] Loading source files for package org.apache.lucene...
[javadoc] Loading source files for package org.apache.lucene.analysis...
[javadoc] Loading source files for package
org.apache.lucene.analysis.standard...
[javadoc] Loading source files for package
org.apache.lucene.analysis.tokenattributes...
[javadoc] Loading source files for package org.apache.lucene.document...
[javadoc] Loading source files for package org.apache.lucene.index...
[javadoc] Loading source files for package org.apache.lucene.messages...
[javadoc] Loading source files for package org.apache.lucene.queryParser...
[javadoc] Loading source files for package org.apache.lucene.search...
[javadoc] Loading source files for package org.apache.lucene.search.function...
[javadoc] Loading source files for package org.apache.lucene.search.payloads...
[javadoc] Loading source files for package org.apache.lucene.search.spans...
[javadoc] Loading source files for package org.apache.lucene.store...
[javadoc] Loading source files for package org.apache.lucene.util...
[javadoc] Loading source files for package org.apache.lucene.util.cache...
[javadoc] Constructing Javadoc information...
[javadoc] Standard Doclet version 1.5.0_22
[javadoc] Building tree for all the packages and classes...
[javadoc] C:\Users\rmuir\workspace\warnings\src\java\org\apache\lucene\index\IndexWriter.java:1311
: can't find setReaderTermsIndexDivisor() in org.apache.lucene.index.IndexWriter
[javadoc] C:\Users\rmuir\workspace\warnings\src\java\org\apache\lucene\store\MMapDirectory.java:79
k: reference not found: ClosedChannelException
[javadoc] C:\Users\rmuir\workspace\warnings\src\java\org\apache\lucene\store\NIOFSDirectory.java:5
nk: reference not found: ClosedChannelException
[javadoc] Building index for all the packages and classes...
[javadoc] Building index for all classes...
[javadoc] Generating
C:\Users\rmuir\workspace\warnings\build\docs\api\core\stylesheet.css...
[javadoc] Note: Custom tags that could override future standard tags:
@todo. To avoid potential o
st one period character (.) in custom tag names.
[javadoc] Note: Custom tags that were not seen: @todo,
@lucene.internal, @uml.property
[javadoc] 3 warnings
[jar] Building jar:
C:\Users\rmuir\workspace\warnings\build\lucene-core-3.0.2-dev-javadoc.jar
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org