[PATCH] Typo in org.openjdk.jmh.annotations.Param javadoc

Bruno P. Kinoshita brunodepaulak at yahoo.com.br
Sun Aug 20 23:19:56 UTC 2017


Hi,

Found a trivial typo in org.openjdk.jmh.annotations.Param's javadoc. Patch attached, and also copied below (not sure if the mailing list supports attachments).
diff -r a128fd4a5901 jmh-core/src/main/java/org/openjdk/jmh/annotations/Param.java
--- a/jmh-core/src/main/java/org/openjdk/jmh/annotations/Param.java     Wed Jun 07 15:19:29 2017 +0200
+++ b/jmh-core/src/main/java/org/openjdk/jmh/annotations/Param.java     Mon Aug 21 10:32:01 2017 +1200
@@ -34,7 +34,7 @@
  * <p>Marks the configurable parameter in the benchmark.</p>
  *
  * <p>{@link Param} fields should be non-final fields,
- * and should only reside in in {@link State} classes. JMH will inject
+ * and should only reside in {@link State} classes. JMH will inject
  * the value into the annotated field before any {@link Setup} method
  * is called. It is <b>not</b> guaranteed the field value would be accessible
  * in any initializer or any constructor of {@link State}.</p>

Thanks
Bruno


More information about the jmh-dev mailing list