Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
EVALSYS-1453 - One more fix to switch the search/replace for title
Browse files Browse the repository at this point in the history
outside the check
  • Loading branch information
jonespm authored and bjones86 committed Jun 14, 2016
1 parent b7320bb commit 6f203e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ public void execute(JobExecutionContext context) throws JobExecutionException {
for (String groupId: evalGroupIds) {
Group group = siteService.findGroup(groupId);
String groupTitle = groupId;
//If it's not null the group exists, so look up the title
//If it's not null the group exists in the system, so look up the title
if (group != null) {
groupTitle = group.getTitle();
groupTitle = groupTitle.replaceAll("\\W+","_");
}
groupTitle = groupTitle.replaceAll("\\W+","_");
String outputName = dirName + "/" + evaluationTitle + "_" + groupTitle + "_" + addDate;
logger.info("Writing reports to a basename of "+ outputName);
outputStream = new FileOutputStream(outputName+".csv", false);
Expand Down

0 comments on commit 6f203e9

Please sign in to comment.