You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2026/06/11 05:24:54 UTC
(groovy) branch master updated: minor refactor: reduce javadoc warnings
This is an automated email from the ASF dual-hosted git repository.
paulk-asert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 5d84d5ff6f minor refactor: reduce javadoc warnings
5d84d5ff6f is described below
commit 5d84d5ff6f06cb735d0fb30b4fa52568e933c2f2
Author: Paul King <pa...@asert.com.au>
AuthorDate: Thu Jun 11 15:24:44 2026 +1000
minor refactor: reduce javadoc warnings
---
.../util/concurrent/ConcurrentReferenceHashMap.java | 4 ++--
.../java/org/codehaus/groovy/runtime/GStringImpl.java | 16 ++++++++--------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/main/java/org/apache/groovy/util/concurrent/ConcurrentReferenceHashMap.java b/src/main/java/org/apache/groovy/util/concurrent/ConcurrentReferenceHashMap.java
index 4652d1cf35..e672b663b4 100644
--- a/src/main/java/org/apache/groovy/util/concurrent/ConcurrentReferenceHashMap.java
+++ b/src/main/java/org/apache/groovy/util/concurrent/ConcurrentReferenceHashMap.java
@@ -1664,8 +1664,8 @@ public class ConcurrentReferenceHashMap<K, V> extends AbstractMap<K, V> implemen
return segmentFor(hash).put(key, hash, value, null, true);
}
- /***
- * @implSpec The default implementation is equivalent to the following steps for this
+ /**
+ * <b>Implementation Requirements:</b> The default implementation is equivalent to the following steps for this
* {@code map}, then returning the current value or {@code null} if now
* absent:
* <p>
diff --git a/src/main/java/org/codehaus/groovy/runtime/GStringImpl.java b/src/main/java/org/codehaus/groovy/runtime/GStringImpl.java
index 0a1c5834a1..4885ce650e 100644
--- a/src/main/java/org/codehaus/groovy/runtime/GStringImpl.java
+++ b/src/main/java/org/codehaus/groovy/runtime/GStringImpl.java
@@ -170,14 +170,14 @@ public class GStringImpl extends GString {
* <p>
* The stream returned by this method contains the lines from
* this string in the order in which they occur.
- *
- * @apiNote This definition of <i>line</i> implies that an empty
- * string has zero lines and that there is no empty line
- * following a line terminator at the end of a string.
- *
- * @implNote This method provides better performance than
- * split("\R") by supplying elements lazily and
- * by faster search of new line terminators.
+ * <p>
+ * <b>API Note:</b> This definition of <i>line</i> implies that an empty
+ * string has zero lines and that there is no empty line
+ * following a line terminator at the end of a string.
+ * <p>
+ * <b>Implementation Note:</b> This method provides better performance than
+ * {@code split("\R")} by supplying elements lazily and
+ * by faster search of new line terminators.
*
* @return the stream of lines extracted from this string
*