parameterMap.put("pg", String.valueOf(pageNumber));\r
return new PageParameters(parameterMap);\r
}\r
- \r
+\r
public static PageParameters newBlameTypeParameter(String repositoryName,\r
String commitId, String path, String blameType) {\r
Map<String, String> parameterMap = new HashMap<String, String>();\r
// past\r
title = timeUtils.timeAgo(date);\r
}\r
- if ((System.currentTimeMillis() - date.getTime()) < 10 * 24 * 60 * 60 * 1000L) {\r
+ if (title != null && (System.currentTimeMillis() - date.getTime()) < 10 * 24 * 60 * 60 * 1000L) {\r
String tmp = dateString;\r
dateString = title;\r
title = tmp;\r