javadoc typos

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

javadoc typos

Ivan Gerasimov
Hello!

A couple of minor javadoc corrections:


diff --git
a/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
b/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
--- a/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
+++ b/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
@@ -92,7 +92,7 @@
   * encountering the exception; minimally only the latter.
   *
   * <p>It is possible to define and use ForkJoinTasks that may block,
- * but doing do requires three further considerations: (1) Completion
+ * but doing so requires three further considerations: (1) Completion
   * of few if any <em>other</em> tasks should be dependent on a task
   * that blocks on external synchronization or I/O. Event-style async
   * tasks that are never joined (for example, those subclassing {@link
diff --git
a/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
b/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
---
a/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
+++
b/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
@@ -68,7 +68,7 @@
   * <p>Class {@link LongAdder} provides analogs of the functionality of
   * this class for the common special case of maintaining counts and
   * sums.  The call {@code new LongAdder()} is equivalent to {@code new
- * LongAccumulator((x, y) -> x + y, 0L}.
+ * LongAccumulator((x, y) -> x + y, 0L)}.
   *
   * <p>This class extends {@link Number}, but does <em>not</em> define
   * methods such as {@code equals}, {@code hashCode} and {@code


With kind regards,
Ivan

_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest
Reply | Threaded
Open this post in threaded view
|

Re: javadoc typos

Martin Buchholz-3
Thanks!

These will be fixed in our upcoming jdk9 integration.

On Thu, Jun 30, 2016 at 6:42 AM, Ivan Gerasimov <[hidden email]> wrote:
Hello!

A couple of minor javadoc corrections:


diff --git a/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java b/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
--- a/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
+++ b/src/java.base/share/classes/java/util/concurrent/ForkJoinTask.java
@@ -92,7 +92,7 @@
  * encountering the exception; minimally only the latter.
  *
  * <p>It is possible to define and use ForkJoinTasks that may block,
- * but doing do requires three further considerations: (1) Completion
+ * but doing so requires three further considerations: (1) Completion
  * of few if any <em>other</em> tasks should be dependent on a task
  * that blocks on external synchronization or I/O. Event-style async
  * tasks that are never joined (for example, those subclassing {@link
diff --git a/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java b/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
--- a/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
+++ b/src/java.base/share/classes/java/util/concurrent/atomic/LongAccumulator.java
@@ -68,7 +68,7 @@
  * <p>Class {@link LongAdder} provides analogs of the functionality of
  * this class for the common special case of maintaining counts and
  * sums.  The call {@code new LongAdder()} is equivalent to {@code new
- * LongAccumulator((x, y) -> x + y, 0L}.
+ * LongAccumulator((x, y) -> x + y, 0L)}.
  *
  * <p>This class extends {@link Number}, but does <em>not</em> define
  * methods such as {@code equals}, {@code hashCode} and {@code


With kind regards,
Ivan

_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest


_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest