You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/07/02 23:01:32 UTC
(commons-configuration) 02/03: Javadoc
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-configuration.git
commit c975c5c655009777e07e907e102cd689b22ce34b
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 2 15:24:18 2024 -0400
Javadoc
---
.../org/apache/commons/configuration2/event/BaseEventSource.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/configuration2/event/BaseEventSource.java b/src/main/java/org/apache/commons/configuration2/event/BaseEventSource.java
index fde006ad..3a1f023a 100644
--- a/src/main/java/org/apache/commons/configuration2/event/BaseEventSource.java
+++ b/src/main/java/org/apache/commons/configuration2/event/BaseEventSource.java
@@ -107,12 +107,12 @@ public class BaseEventSource implements EventSource {
}
/**
- * Overrides the {@code clone()} method to correctly handle so far registered event listeners. This implementation
- * ensures that the clone will have empty event listener lists, i.e. the listeners registered at an
- * {@code BaseEventSource} object will not be copied.
+ * Overrides the {@code clone()} method to correctly handle so far registered event listeners. This implementation ensures that the clone will have empty
+ * event listener lists, i.e. the listeners registered at an {@code BaseEventSource} object will not be copied.
*
* @return the cloned object
- * @throws CloneNotSupportedException if cloning is not allowed
+ * @throws CloneNotSupportedException if the object's class does not support the {@code Cloneable} interface. Subclasses that override the {@code clone}
+ * method can also throw this exception to indicate that an instance cannot be cloned.
* @since 1.4
*/
@Override