Andrushika commented on code in PR #69937:
URL: https://github.com/apache/airflow/pull/69937#discussion_r3915836056


##########
java-sdk/processor/src/main/kotlin/org/apache/airflow/sdk/BuilderProcessor.kt:
##########
@@ -194,6 +199,37 @@ private fun ProcessingEnvironment.isType(
   c: ClassName,
 ): Boolean = typeUtils.isSameType(t, 
elementUtils.getTypeElement(c.canonicalName()).asType())
 
+private const val MAX_ID_LENGTH = 250
+private val ID_REGEX = Regex("""^[\p{L}\p{N}_.-]+$""")
+
+private fun ProcessingEnvironment.warnOnSuspiciousId(
+  element: Element,

Review Comment:
   In the latest version, both interface based path will be validated!



-- 
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]

Reply via email to