String (@NonNls String localPath) { localPath = chopTrailingChars(localPath.trim().replace('\\', '/'), ourCharsToBeChopped); if (localPath.length() == 2 && OSAgnosticPathUtil.startsWithWindowsDrive(localPath)) { localPath += '/'; } return localPath; }