8069262: Doclint regression in java.nio.channels.Channels
authoramlu
Fri, 23 Jan 2015 16:16:39 +0000
changeset 28569 20682992a0ff
parent 28568 5325bdefc06b
child 28570 b00a1e9a9238
8069262: Doclint regression in java.nio.channels.Channels Reviewed-by: darcy
jdk/src/java.base/share/classes/java/nio/channels/Channels.java
--- a/jdk/src/java.base/share/classes/java/nio/channels/Channels.java	Fri Jan 23 15:03:47 2015 +0000
+++ b/jdk/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>