jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Gaul <notificati...@github.com>
Subject Re: [jclouds/jclouds] Ensure that jclouds filesystem provider consistently uses / (#1024)
Date Fri, 21 Oct 2016 22:30:51 GMT
andrewgaul commented on this pull request.



>     }
 
-   private static String denormalize(String pathToDenormalize) {
-      if (null != pathToDenormalize && pathToDenormalize.contains("/")) {
-         if (BACK_SLASH.equals(File.separator)) {
-              return pathToDenormalize.replace("/", BACK_SLASH);
-         }
+   /**
+    * Convert path to jclouds standard (/)
+    */
+   private static String denormalize(String path) {
+      if (null != path) {
+         return path.replace("\\", "/");

Same as above.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1024#pullrequestreview-5329869
Mime
View raw message