maksaska commented on code in PR #12200:
URL: https://github.com/apache/ignite/pull/12200#discussion_r2245676981
##########
modules/codegen2/README.md:
##########
@@ -11,6 +11,8 @@ The `MessageProcessor` performs the following tasks:
- **Naming Convention Enforcement**: It verifies that all fields annotated
with `@Order` have a corresponding pair of accessor methods:
- A getter named exactly after the field (e.g., `fieldName()`)
- A setter named after the field, accepting a single argument (e.g.,
`fieldName(Type val)`)
+ - By default, it is assumed that getters and setters are named as the
annotated fields, e.g. field 'val' should have getters and setters with name
'val' (according to Ignite's code-style). If you need to override this
behavior, you can specify their name in the `Order#method` attribute.
Review Comment:
Done!
##########
modules/codegen2/src/main/java/org/apache/ignite/internal/Order.java:
##########
@@ -27,9 +27,9 @@
* <p>
* The {@code value} indicates the index of the field in the serialization
order.
* Fields annotated with {@code @Order} are processed in ascending order of
their index.
- * <p> By default, it is assumed that getters and setters are named as the
annotated fields,
- * e.g. field 'val' should have getters and satters with name 'val' (according
Ignite's to code-style).
- * If you need to override this behavior, you can specify their name in the
{@link #method} attribute.
+ * <p> By default, it is assumed that getters and setters are named as the
annotated fields, e.g. field 'val' should
Review Comment:
Done!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]