You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "nikam14 (via GitHub)" <gi...@apache.org> on 2023/05/09 08:45:56 UTC

[GitHub] [cloudstack] nikam14 commented on a diff in pull request #7486: [MINOR][Enhancement] improved concatenation way in PropertiesStorage.java

nikam14 commented on code in PR #7486:
URL: https://github.com/apache/cloudstack/pull/7486#discussion_r1188325799


##########
agent/src/main/java/com/cloud/agent/dao/impl/PropertiesStorage.java:
##########
@@ -92,11 +92,11 @@ public synchronized boolean configure(String name, Map<String, Object> params) {
             file = new File(path);
             try {
                 if (!file.createNewFile()) {
-                    s_logger.error("Unable to create _file: " + file.getAbsolutePath());
+                    s_logger.error("Unable to create _file: ".concat(file.getAbsolutePath()));

Review Comment:
   thank you for your suggestion , I will change it .



-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org