rpuch commented on code in PR #6299:
URL: https://github.com/apache/ignite-3/pull/6299#discussion_r2230720572


##########
modules/error-code-annotation-processor/src/main/java/org/apache/ignite/internal/error/code/processor/ErrorCodeGroupProcessor.java:
##########
@@ -164,7 +164,9 @@ private Object visitErrorCodeField(VariableTree 
variableTree, Trees trees) {
                         descriptor.deprecatedAliases.add(new 
DeprecatedAlias(name, identifier));
                     }
                 } else {
-                    ex = new 
ErrorCodeGroupProcessorException(String.format("AST parsing error: %s", 
variableTree));
+                    ex = new ErrorCodeGroupProcessorException(
+                            String.format("AST parsing error: Expected 
IdentifierTree in initializer, but got %s",

Review Comment:
   Not just IdentifierTree, MethodTree is also handled, as it seems



-- 
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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to