Deprecate RowDocumentAccessor.document().

This method was never intended to be exposed (record-style accessor) as there is getDocument().

See #1781
This commit is contained in:
Mark Paluch
2024-04-29 11:31:55 +02:00
parent 110e3ee02e
commit df601852fe

View File

@@ -111,6 +111,14 @@ public class RowDocumentAccessor {
return prop.getColumnName().getReference();
}
/**
* @deprecated since 3.2.6, this method was not intended to be exposed publicly. Use {@link #getDocument()} instead.
*/
@Deprecated(since = "3.2.6", forRemoval = true)
public RowDocument document() {
return document;
}
@Override
public boolean equals(Object obj) {
if (obj == this)