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

   ## Summary
   
   This PR resolves SonarCloud rule `java:S3024` by replaces string 
concatenation inside `StringBuilder.append()` with multiple append calls.This 
avoids creating an unnecessary temporary String object.
   
   ## Affected Code
   
   Before
   `builder.append(dataIterator.getString(columnName) + " ");`
   After
   `builder.append(dataIterator.getString(columnName)).append(" ");`
   
   This PR has:
   - [x] been self-reviewed.
            - [x] mvn clean package -pl distribution -am -DskipTests
            - [x] mvn spotless:check
            - [x] mvn spotless:apply
   
   Resolves : 
https://sonarcloud.io/project/issues?open=AZfI-87Z6bx1nQBkaMUy&id=apache_iotdb


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