private FileAction getNewAction(FileState fileState, FolderState folderState) throws FileSystemException
{
if (fileState.isDirectory())
{
result.incrementCountNewFolderAction(OwnSyncResult.EVALUATED);
return new NewFolderAction(fileState, folderState);
}
else
{
result.incrementCountNewFileAction(OwnSyncResult.EVALUATED);
return new NewFileAction(fileState, folderState);