Merge branch '6.1.x'
This commit is contained in:
		
						commit
						720b7c1dac
					
				|  | @ -72,7 +72,7 @@ public abstract class StringUtils { | ||||||
| 
 | 
 | ||||||
| 	private static final String WINDOWS_FOLDER_SEPARATOR = "\\"; | 	private static final String WINDOWS_FOLDER_SEPARATOR = "\\"; | ||||||
| 
 | 
 | ||||||
| 	private static final String DOUBLE_BACKLASHES = "\\\\"; | 	private static final String DOUBLE_BACKSLASHES = "\\\\"; | ||||||
| 
 | 
 | ||||||
| 	private static final String TOP_PATH = ".."; | 	private static final String TOP_PATH = ".."; | ||||||
| 
 | 
 | ||||||
|  | @ -713,7 +713,7 @@ public abstract class StringUtils { | ||||||
| 		String normalizedPath; | 		String normalizedPath; | ||||||
| 		// Optimize when there is no backslash | 		// Optimize when there is no backslash | ||||||
| 		if (path.indexOf('\\') != -1) { | 		if (path.indexOf('\\') != -1) { | ||||||
| 			normalizedPath = replace(path, DOUBLE_BACKLASHES, FOLDER_SEPARATOR); | 			normalizedPath = replace(path, DOUBLE_BACKSLASHES, FOLDER_SEPARATOR); | ||||||
| 			normalizedPath = replace(normalizedPath, WINDOWS_FOLDER_SEPARATOR, FOLDER_SEPARATOR); | 			normalizedPath = replace(normalizedPath, WINDOWS_FOLDER_SEPARATOR, FOLDER_SEPARATOR); | ||||||
| 		} | 		} | ||||||
| 		else { | 		else { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue