localContentVO.setVersions(new String[]{localVersion.getVersionValue()});
logger.info("fileContent:" + fileContent.length());
logger.info("localVersion.getVersionValue():" + localVersion.getVersionValue().length());
}
DeploymentCompareBean deploymentCompareBean = new DeploymentCompareBean();
deploymentCompareBean.setRemoteVersion(cvsContent);
deploymentCompareBean.setLocalVersion(localContentVO);
logger.info("Adding:" + localContentVO.getName() + " = " + cvsContent.getName());
deploymentCompareBeans.add(deploymentCompareBean);
}
else
{
logger.info("No local version of " + parentFile.getName());
ContentVO cvsContent = new ContentVO();
cvsContent.setContentId(cvsFakeContentId);
cvsContent.setName(parentFile.getName());
cvsContent.setFullPath(parentFile.getPath());
cvsContent.setVersions(new String[]{fileContent});
ContentVO localContent = new ContentVO();
DeploymentCompareBean deploymentCompareBean = new DeploymentCompareBean();
deploymentCompareBean.setRemoteVersion(cvsContent);
deploymentCompareBean.setLocalVersion(null);
logger.info("Adding:" + null + " = " + cvsContent.getName());
deploymentCompareBeans.add(deploymentCompareBean);
}
}