slawekjaranowski commented on PR #700: URL: https://github.com/apache/maven-pmd-plugin/pull/700#issuecomment-4983773447
@harrisric We can do a method static and package protected with next param ```java static Integer numThreadsConverter(String executionThreadsString, int availableProcessors) ``` method can return null for `executionThreadsString == null` it will be easy test by UT, with many cases, we can use a parameterized test in production code it will be executed by: ```java numThreadsConverter(executionThreadsString, Runtime.getRuntime().availableProcessors()) ``` apologies for delay response 😄 -- 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]
