anukalp2804 opened a new pull request, #17288:
URL: https://github.com/apache/iotdb/pull/17288

   ## Description
   
   Fix SonarCloud warning "Save and re-use this Random" by reusing a single 
SecureRandom instance.
   
   ## Files modified:
   - 
`example/session/src/main/java/org/apache/iotdb/AlignedTimeseriesSessionExample.java`.
   
   
   This change addresses a Sonar-reported re-use of SecureRandom:
   
   - 
https://sonarcloud.io/project/issues?open=AZwEgibc8rL7NklPBeE6&id=apache_iotdb
   
   
   This PR has:
   
   - [x] been self-reviewed.
   - [x] been built locally with `mvn spotless:apply`.
   - [x] been built locally with `mvn clean package -DskipTests`.
   - [x] been built locally with `mvn -pl iotdb-core -am test -DskipTests`.


-- 
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]

Reply via email to