String () { final String contentEntryPath = getContentRootPath(); if (contentEntryPath != null) { final String dirName = myTfSourceDirectoryName.getText().trim().replace(File.separatorChar, '/'); return !dirName.isEmpty() ? contentEntryPath + "/" + dirName : contentEntryPath; } return null; }