HTHou opened a new pull request, #18294: URL: https://github.com/apache/iotdb/pull/18294
## Summary - replace the ambiguous `String.format(..., null)` call in table CSV import with a localized missing-table-option message - reuse the same localized message in the CLI argument validation path - pass caught exceptions directly to SLF4J in `IoTDBAlterColumnTypeIT` so the complete stack trace is logged ## Why JDK 17 reported four `non-varargs call of varargs method with inexact argument type` warnings: one in the CLI module and three in integration-test sources. The CLI call passed `null` ambiguously to `String.format`, producing the awkward message `target table null does not exist`. The integration-test calls passed `StackTraceElement[]` to SLF4J varargs, which treated the array as formatting arguments instead of logging the exception stack trace. ## Validation - `mvn spotless:apply -pl iotdb-client/cli` - `mvn spotless:apply -pl integration-test -P with-integration-tests` - full English `test-compile` with `-Xlint:all`: build success, no inexact-varargs warnings - full Chinese locale `test-compile` with `-P with-zh-locale -Xlint:all`: build success, no inexact-varargs warnings - integration-test `test-compile` with `-P with-integration-tests -Xlint:all`: build success, no inexact-varargs warnings - `mvn test -pl iotdb-client/cli`: 9 tests passed -- 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]
