aglinxinyuan commented on code in PR #9599:
URL: https://github.com/apache/texera/pull/9599#discussion_r4665612012
##########
workflow-compiling-service/src/test/scala/org/apache/texera/amber/translator/verify/ConfigGenerator.scala:
##########
@@ -2079,11 +2079,6 @@ object ConfigGenerator {
permitted.elements().asScala.exists(_.asText ==
siblings.path(clause.getKey).asText)
}
- /** The empty object, for a caller with no sibling context: only the
unconditional
- * part of a rule can bind.
- */
- private def noSiblings: JsonNode = objectMapper.getNodeFactory.objectNode()
Review Comment:
Agreed, as its own PR — `Test` already inherits `Compile`'s `scalacOptions`
(that's how test code gets `-Ywarn-unused:imports` today), so it's one
`Compile` flag per module plus `RemoveUnused.locals = true`. On `main` with
#9597 and this PR in, it flags 20 sites across 6 modules, half of them in main
code, and side-effecting vals like `DataProcessor`'s `initializer` need a
decision rather than scalafix's rewrite.
--
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]