changeset 11303:89e0f46d9a4b

8069262: Doclint regression in java.nio.channels.Channels Reviewed-by: darcy
author amlu
date Fri, 23 Jan 2015 16:16:39 +0000
parents 7e88cae22c16
children e57fae04212b
files src/java.base/share/classes/java/nio/channels/Channels.java
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/java/nio/channels/Channels.java	Fri Jan 23 15:03:47 2015 +0000
+++ b/src/java.base/share/classes/java/nio/channels/Channels.java	Fri Jan 23 16:16:39 2015 +0000
@@ -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.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -579,12 +579,13 @@
      * charset and writes the resulting bytes to the given channel.
      *
      * <p> An invocation of this method of the form
-     * <p>
+     *
      * <pre> {@code
      *     Channels.newWriter(ch, csname)
      * } </pre>
+     *
      * behaves in exactly the same way as the expression
-     * <p>
+     *
      * <pre> {@code
      *     Channels.newWriter(ch, Charset.forName(csName).newEncoder(), -1)
      * } </pre>