--- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java Fri Sep 27 12:58:01 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java Fri Sep 27 13:00:53 2019 +0200
@@ -192,7 +192,7 @@
* Disables event with the specified name.
* <p>
* If multiple events with same name (for example, the same class is loaded
- * in different class loaders), then all events that match the name is
+ * in different class loaders), then all events that match the name are
* disabled. To disable a specific class, use the {@link #disable(Class)}
* method or a {@code String} representation of the event type ID.
*
--- a/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/Dispatcher.java Fri Sep 27 12:58:01 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/internal/consumer/Dispatcher.java Fri Sep 27 13:00:53 2019 +0200
@@ -177,8 +177,8 @@
}
for (int i = 0; i < consumers.length; i++) {
@SuppressWarnings("unchecked")
- Consumer<Throwable> conusmer = (Consumer<Throwable>) consumers[i];
- conusmer.accept(e);
+ Consumer<Throwable> consumer = (Consumer<Throwable>) consumers[i];
+ consumer.accept(e);
}
}