if ( importSession.get().getIsNotRunningImport() ) {
throw new PlatformImportException( messages.getString( "DefaultImportHandler.ERROR_0009_OVERWRITE_CONTENT",
repositoryFilePath ), PlatformImportException.PUBLISH_CONTENT_EXISTS_ERROR );
} else {
getLogger().trace( "Not importing existing file [" + repositoryFilePath + "]" );
ImportSession importSession = ImportSession.getSession();
importSession.getSkippedFiles().add( repositoryFilePath );
}
}
}
} else {
if ( bundle.isFolder() ) {