提交 3d77c423 编写于 作者: A alanb

6874521: Remove @note tags

Reviewed-by: andrew, darcy
上级 9ebf0f88
...@@ -182,7 +182,6 @@ public final class Channels { ...@@ -182,7 +182,6 @@ public final class Channels {
} }
/** /**
* {@note new}
* Constructs a stream that reads bytes from the given channel. * Constructs a stream that reads bytes from the given channel.
* *
* <p> The stream will not be buffered, and it will not support the {@link * <p> The stream will not be buffered, and it will not support the {@link
...@@ -258,7 +257,6 @@ public final class Channels { ...@@ -258,7 +257,6 @@ public final class Channels {
} }
/** /**
* {@note new}
* Constructs a stream that writes bytes to the given channel. * Constructs a stream that writes bytes to the given channel.
* *
* <p> The stream will not be buffered. The stream will be safe for access * <p> The stream will not be buffered. The stream will be safe for access
......
...@@ -39,8 +39,7 @@ import java.util.Collections; ...@@ -39,8 +39,7 @@ import java.util.Collections;
/** /**
* A channel for reading, writing, mapping, and manipulating a file. * A channel for reading, writing, mapping, and manipulating a file.
* *
* <p> {@note revised} * <p> A file channel is a {@link SeekableByteChannel} that is connected to
* A file channel is a {@link SeekableByteChannel} that is connected to
* a file. It has a current <i>position</i> within its file which can * a file. It has a current <i>position</i> within its file which can
* be both {@link #position() <i>queried</i>} and {@link #position(long) * be both {@link #position() <i>queried</i>} and {@link #position(long)
* <i>modified</i>}. The file itself contains a variable-length sequence * <i>modified</i>}. The file itself contains a variable-length sequence
...@@ -151,7 +150,6 @@ import java.util.Collections; ...@@ -151,7 +150,6 @@ import java.util.Collections;
* @author Mike McCloskey * @author Mike McCloskey
* @author JSR-51 Expert Group * @author JSR-51 Expert Group
* @since 1.4 * @since 1.4
* @updated 1.7
*/ */
public abstract class FileChannel public abstract class FileChannel
...@@ -164,7 +162,6 @@ public abstract class FileChannel ...@@ -164,7 +162,6 @@ public abstract class FileChannel
protected FileChannel() { } protected FileChannel() { }
/** /**
* {@note new}
* Opens or creates a file, returning a file channel to access the file. * Opens or creates a file, returning a file channel to access the file.
* *
* <p> The {@code options} parameter determines how the file is opened. * <p> The {@code options} parameter determines how the file is opened.
...@@ -293,7 +290,6 @@ public abstract class FileChannel ...@@ -293,7 +290,6 @@ public abstract class FileChannel
private static final FileAttribute<?>[] NO_ATTRIBUTES = new FileAttribute[0]; private static final FileAttribute<?>[] NO_ATTRIBUTES = new FileAttribute[0];
/** /**
* {@note new}
* Opens or creates a file, returning a file channel to access the file. * Opens or creates a file, returning a file channel to access the file.
* *
* <p> An invocation of this method behaves in exactly the same way as the * <p> An invocation of this method behaves in exactly the same way as the
......
...@@ -114,7 +114,6 @@ import java.io.IOException; ...@@ -114,7 +114,6 @@ import java.io.IOException;
* @author Mark Reinhold * @author Mark Reinhold
* @author JSR-51 Expert Group * @author JSR-51 Expert Group
* @since 1.4 * @since 1.4
* @updated 1.7
*/ */
public abstract class FileLock { public abstract class FileLock {
...@@ -161,7 +160,7 @@ public abstract class FileLock { ...@@ -161,7 +160,7 @@ public abstract class FileLock {
} }
/** /**
* {@note new} Initializes a new instance of this class. * Initializes a new instance of this class.
* *
* @param channel * @param channel
* The channel upon whose file this lock is held * The channel upon whose file this lock is held
...@@ -199,7 +198,6 @@ public abstract class FileLock { ...@@ -199,7 +198,6 @@ public abstract class FileLock {
} }
/** /**
* {@note revised}
* Returns the file channel upon whose file this lock was acquired. * Returns the file channel upon whose file this lock was acquired.
* *
* <p> This method has been superseded by the {@link #acquiredBy acquiredBy} * <p> This method has been superseded by the {@link #acquiredBy acquiredBy}
...@@ -213,7 +211,6 @@ public abstract class FileLock { ...@@ -213,7 +211,6 @@ public abstract class FileLock {
} }
/** /**
* {@note new}
* Returns the channel upon whose file this lock was acquired. * Returns the channel upon whose file this lock was acquired.
* *
* @return The channel upon whose file this lock was acquired. * @return The channel upon whose file this lock was acquired.
......
...@@ -285,7 +285,6 @@ ...@@ -285,7 +285,6 @@
* java.lang.NullPointerException NullPointerException} to be thrown. * java.lang.NullPointerException NullPointerException} to be thrown.
* *
* @since 1.4 * @since 1.4
* @updated 1.7
* @author Mark Reinhold * @author Mark Reinhold
* @author JSR-51 Expert Group * @author JSR-51 Expert Group
*/ */
......
...@@ -39,8 +39,6 @@ import java.io.IOException; ...@@ -39,8 +39,6 @@ import java.io.IOException;
* metadata or file attributes. * metadata or file attributes.
* *
* @since 1.7 * @since 1.7
* @see java.io.Inputs
* @see java.io.Outputs
* @see java.nio.file.attribute.Attributes * @see java.nio.file.attribute.Attributes
* @see java.io.File#toPath * @see java.io.File#toPath
*/ */
......
...@@ -674,7 +674,6 @@ public final class Scanner implements Iterator<String> { ...@@ -674,7 +674,6 @@ public final class Scanner implements Iterator<String> {
} }
/** /**
* {@note new}
* Constructs a new <code>Scanner</code> that produces values scanned * Constructs a new <code>Scanner</code> that produces values scanned
* from the specified file. Bytes from the file are converted into * from the specified file. Bytes from the file are converted into
* characters using the underlying platform's * characters using the underlying platform's
...@@ -694,7 +693,6 @@ public final class Scanner implements Iterator<String> { ...@@ -694,7 +693,6 @@ public final class Scanner implements Iterator<String> {
} }
/** /**
* {@note new}
* Constructs a new <code>Scanner</code> that produces values scanned * Constructs a new <code>Scanner</code> that produces values scanned
* from the specified file. Bytes from the file are converted into * from the specified file. Bytes from the file are converted into
* characters using the specified charset. * characters using the specified charset.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册