in changes-patch-builder/src/jetbrains/buildServer/vcs/patches/fs/MemoryFileSystemImpl.java [80:85]
public boolean add(String path) {
boolean isNew = isNew(path);
boolean isFile = isFile(path);
String refinedPath = path.substring(isNew ? 1 : 0, path.length() - (isFile ? 0 : 1));
return add(refinedPath, isFile, isNew);
}