Javadoc change JEP-349-branch
authoregahlin
Wed, 18 Sep 2019 08:20:10 +0200
branchJEP-349-branch
changeset 58201 2654d1b665bf
parent 58200 2d147d680311
child 58204 5d1f1ff2ad55
Javadoc change
src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java
--- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java	Wed Sep 18 08:00:36 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/EventStream.java	Wed Sep 18 08:20:10 2019 +0200
@@ -54,7 +54,7 @@
  * By default, the same {@code RecordedEvent} object can be used for
  * representing two or more distinct events. The object can be delivered
  * multiple times to the same action as well as to other actions. If the life
- * cycle of the event object exceeds the scope of an action, the
+ * span of the event object exceeds that of the action, the
  * {@link #setReuse(boolean)} method should be set to {@code false} so that a
  * new object is allocated for each event.
  * <p>
@@ -76,8 +76,8 @@
  * <p>
  * When a stream ends it is automatically closed. To manually stop processing of
  * events, close the stream by invoking the {@link #close()} method. A stream
- * can also be automatically closed in exceptional circumstances, for example
- * if the JVM that is being monitored exits. To receive a notification in any of
+ * can also be automatically closed in exceptional circumstances, for example if
+ * the JVM that is being monitored exits. To receive a notification in any of
  * these occasions, use the {@link #onClose(Runnable)} method to register an
  * action.
  * <p>