Code Improvements-Vnfsdk-refrepo sonar issue fixes
[vnfsdk/refrepo.git] / vnfmarket-be / vnf-sdk-marketplace / src / main / java / org / onap / vnfsdk / marketplace / common / ToolUtil.java
index 16be15c..5ee7c30 100644 (file)
@@ -76,7 +76,8 @@ public class ToolUtil {
     public static String storeChunkFileInLocal(String dirName, String fileName, InputStream uploadedInputStream)
             throws IOException {
         File tmpDir = new File(dirName);
-        LOG.info("tmpdir = " + File.separator + dirName);
+        dirName = File.separator + dirName;
+        LOG.info("tmpdir = {}" , dirName);
         if(!tmpDir.exists()) {
             tmpDir.mkdirs();
         }