github-advanced-security[bot] commented on code in PR #18613: URL: https://github.com/apache/druid/pull/18613#discussion_r2416249468
########## sql/src/test/java/org/apache/druid/sql/calcite/schema/SystemSchemaTest.java: ########## @@ -381,6 +382,8 @@ final List<DataSegment> realtimeSegments = ImmutableList.of(segment2, segment4, segment5); private final DateTime startTime = DateTimes.nowUtc(); + private final long availableProcessors = JvmUtils.getRuntimeInfo().getAvailableProcessors(); Review Comment: ## Deprecated method or constructor invocation Invoking [JvmUtils.getRuntimeInfo](1) should be avoided because it has been deprecated. [Show more details](https://github.com/apache/druid/security/code-scanning/10506) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
