sergey-chugunov-1985 commented on code in PR #12554:
URL: https://github.com/apache/ignite/pull/12554#discussion_r2642816591
##########
modules/core/src/main/java/org/apache/ignite/plugin/extensions/communication/mappers/DefaultEnumMapper.java:
##########
@@ -15,24 +15,25 @@
* limitations under the License.
*/
-package org.apache.ignite.internal;
+package org.apache.ignite.plugin.extensions.communication.mappers;
-import org.apache.ignite.plugin.extensions.communication.Message;
-import org.apache.ignite.transactions.TransactionIsolation;
+/** */
+public class DefaultEnumMapper<T extends Enum<T>> implements EnumMapper<T> {
+ /** */
+ private final T[] enumVals;
-public class UnwrappedEnumFieldMessage implements Message {
- @Order(0)
- private TransactionIsolation isolation;
-
- public TransactionIsolation isolation() {
- return isolation;
+ /** */
+ public DefaultEnumMapper(T[] vals) {
Review Comment:
Fixed.
--
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]