This is an automated email from the ASF dual-hosted git repository.
ntimofeev pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cayenne.git
The following commit(s) were added to refs/heads/master by this push:
new cb7cb666c Update javadocs
cb7cb666c is described below
commit cb7cb666cfbdd8115beb8e517fc0814876bbfe17
Author: Nikita Timofeev <[email protected]>
AuthorDate: Thu Sep 25 14:14:36 2025 +0400
Update javadocs
---
.../src/main/java/org/apache/cayenne/exp/property/package-info.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/cayenne/src/main/java/org/apache/cayenne/exp/property/package-info.java
b/cayenne/src/main/java/org/apache/cayenne/exp/property/package-info.java
index 211ee1fe0..4b3ecf83b 100644
--- a/cayenne/src/main/java/org/apache/cayenne/exp/property/package-info.java
+++ b/cayenne/src/main/java/org/apache/cayenne/exp/property/package-info.java
@@ -28,7 +28,7 @@
* <pre>{@code
* Painting painting = ...
* Artist artist = ObjectSelect.query(Artist.class)
- * .where(Artist.PAINTING_ARRAY.contains(painting))
+ * .where(Artist.PAINTING_ARRAY.containsValue(painting))
* .and(Artist.DATE_OF_BIRTH.year().gt(1950))
* .and(Artist.ARTIST_NAME.like("Pablo%"))
* .orderBy(Artist.ARTIST_NAME.asc())
@@ -55,7 +55,7 @@
* <li>{@link org.apache.cayenne.exp.property.ListProperty}, {@link
org.apache.cayenne.exp.property.SetProperty}
* and {@link org.apache.cayenne.exp.property.MapProperty} are for to-many
relationships.<br>
* In addition to to-one related methods these properties support
collection comparison methods
- * like {@link
org.apache.cayenne.exp.property.ListProperty#contains(org.apache.cayenne.Persistent)
contains()}.
+ * like {@link
org.apache.cayenne.exp.property.ListProperty#containsValue(org.apache.cayenne.Persistent)
contains()}.
* <br>
* <li>{@link org.apache.cayenne.exp.property.EmbeddableProperty} for
embeddable objects
* <br>