mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8069262: Doclint regression in java.nio.channels.Channels
Reviewed-by: darcy
This commit is contained in:
parent
0d7e8b7cf1
commit
1059b1665d
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -579,12 +579,13 @@ public final class Channels {
|
||||||
* charset and writes the resulting bytes to the given channel.
|
* charset and writes the resulting bytes to the given channel.
|
||||||
*
|
*
|
||||||
* <p> An invocation of this method of the form
|
* <p> An invocation of this method of the form
|
||||||
* <p>
|
*
|
||||||
* <pre> {@code
|
* <pre> {@code
|
||||||
* Channels.newWriter(ch, csname)
|
* Channels.newWriter(ch, csname)
|
||||||
* } </pre>
|
* } </pre>
|
||||||
|
*
|
||||||
* behaves in exactly the same way as the expression
|
* behaves in exactly the same way as the expression
|
||||||
* <p>
|
*
|
||||||
* <pre> {@code
|
* <pre> {@code
|
||||||
* Channels.newWriter(ch, Charset.forName(csName).newEncoder(), -1)
|
* Channels.newWriter(ch, Charset.forName(csName).newEncoder(), -1)
|
||||||
* } </pre>
|
* } </pre>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue