mirror of https://github.com/apache/maven.git
compilation fix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312913 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7eecaeadb8
commit
33a918bee3
|
@ -226,8 +226,8 @@ public class SiteMojo
|
|||
Map categories = categorizeReports( reports );
|
||||
|
||||
Comparator reportComparator = new ReportComparator();
|
||||
List projectInfos = Collections.sort( (List) categories.get( MavenReport.CATEGORY_PROJECT_INFORMATION ), reportComparator );
|
||||
List projectReports = Collections.sort( (List) categories.get( MavenReport.CATEGORY_PROJECT_REPORTS ), reportComparator );
|
||||
List projectInfos = (List) categories.get( MavenReport.CATEGORY_PROJECT_INFORMATION );
|
||||
List projectReports = (List) categories.get( MavenReport.CATEGORY_PROJECT_REPORTS );
|
||||
|
||||
if ( projectInfos == null )
|
||||
{
|
||||
|
@ -239,6 +239,9 @@ public class SiteMojo
|
|||
projectReports = Collections.EMPTY_LIST;
|
||||
}
|
||||
|
||||
Collections.sort( projectInfos, reportComparator );
|
||||
Collections.sort( projectReports, reportComparator );
|
||||
|
||||
try
|
||||
{
|
||||
List localesList = initLocalesList();
|
||||
|
|
Loading…
Reference in New Issue