}
RepositoryFile.Builder builder =
new RepositoryFile.Builder( RepositoryFilenameUtils.getName( folderPath ) ).path(
RepositoryFilenameUtils.getPath( folderPath ) ).folder( true ).hidden( isHidden );
RepositoryFile repoFile = builder.build();
RepositoryFileAcl repoAcl = getImportSession().processAclForFile( manifestKey );
if ( repoAcl != null ) {
repoFile = repository.createFolder( parentId, repoFile, repoAcl, null );
RepositoryFileAcl repositoryFileAcl = null;
try {
repositoryFileAcl =
getImportSession().getManifest().getExportManifestEntity( manifestKey ).getRepositoryFileAcl();
} catch ( NullPointerException e ) {
// If npe then manifest entry is not defined which is likely so just ignore