jodd-core/src/main/java/jodd/io/FileNameUtil.java
public static String separatorsToSystem(final String path) {
		if (path == null) {
			return null;
		}
		if (SYSTEM_SEPARATOR == WINDOWS_SEPARATOR) {
			return separatorsToWindows(path);
		} else {
			return separatorsToUnix(path);
		}
	}
public static String separatorsToSystem(final String path) {
		if (path == null) {
			return null;
		}
		if (SYSTEM_SEPARATOR == WINDOWS_SEPARATOR) {
			return separatorsToWindows(path);
		} else {
			return separatorsToUnix(path);
		}
	}
Converts all separators to the system separator.

@param path  the path to be changed, null ignored
@return the updated path