kunwp1 opened a new issue, #5200: URL: https://github.com/apache/texera/issues/5200
### Task Summary Running `sbt clean compile` on `main` surfaces eight `[warn]`/deprecation messages across five files on JDK 17. They don't block compilation but add noise to local and CI logs, and they make new warnings harder to spot. | File | Warning | Cleanup | | --- | --- | --- | | `common/pybuilder/.../BoundaryValidator.scala` | outer reference in this type test (×2) | Move nested `CompileTimeContext` / `RuntimeContext` case classes to the companion object; parameterize the macro `Position` field. | | `file-service/.../DatasetFileNodeSerializer.java` | uses deprecated API | Swap `scala.collection.JavaConverters.seqAsJavaList` for `scala.jdk.javaapi.CollectionConverters.asJava`. | | `common/workflow-operator/.../TestOperators.scala` | `MySQLSourceOpDesc` deprecated (×2) | Delete the unused `inMemoryMySQLSourceOpDesc` helper (no callers; MySQL source dead since 1.1.0-incubating). | | `amber/.../ExecutionResultService.scala` | inferred existential type | Add `import scala.language.existentials`. | | `amber/.../web/auth/JwtAuth.scala` (used in `ComputingUnitMaster.scala` & `TexeraWebApplication.scala`) | `JwtAuth` object deprecated (×2) | Drop the aspirational `@Deprecated` on the wrapper. `common/auth` doesn't depend on Dropwizard, so there is no replacement to migrate to until that changes. Keep the TODO comment for the future migration. | ### Task Type - [x] Refactor / Cleanup ### Expected outcome `sbt clean compile` finishes with zero `[warn]` lines on JDK 17. -- 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]
