diff --git a/modules/apps/portal/portal-upgrade-impl/src/main/java/com/liferay/portal/upgrade/internal/report/UpgradeReport.java b/modules/apps/portal/portal-upgrade-impl/src/main/java/com/liferay/portal/upgrade/internal/report/UpgradeReport.java index dbec42c1a4e5f7..91c41d77d66991 100644 --- a/modules/apps/portal/portal-upgrade-impl/src/main/java/com/liferay/portal/upgrade/internal/report/UpgradeReport.java +++ b/modules/apps/portal/portal-upgrade-impl/src/main/java/com/liferay/portal/upgrade/internal/report/UpgradeReport.java @@ -104,7 +104,7 @@ public void generateReport(UpgradeRecorder upgradeRecorder) { _log.info("Starting upgrade report generation"); } - _executionDate = _getExecutionDate(); + _executionDateString = _getExecutionDateString(); _executionTime = (DBUpgrader.getUpgradeTime() / Time.SECOND) + " seconds"; _rootDir = _getRootDir(); @@ -136,7 +136,7 @@ private int _getBuildNumber() { return 0; } - private String _getExecutionDate() { + private String _getExecutionDateString() { SimpleDateFormat simpleDateFormat = new SimpleDateFormat( "EEE, MMM dd, yyyy hh:mm:ss z"); @@ -211,7 +211,7 @@ private Map _getReportData( Set propertiesFilePathStrings = _getPropertiesFilePathStrings(); return LinkedHashMapBuilder.put( - "execution.date", _executionDate + "execution.date", _executionDateString ).put( "execution.time", _executionTime ).put( @@ -543,7 +543,7 @@ private Map _getReportDataDiagnostics( UpgradeRecorder upgradeRecorder) { return LinkedHashMapBuilder.put( - "execution.date", _executionDate + "execution.date", _executionDateString ).put( "execution.time", _executionTime ).put( @@ -975,7 +975,7 @@ else if (value instanceof Map) { private double _dlSize; private final Thread _dlSizeThread = new DLSizeThread(); - private String _executionDate; + private String _executionDateString; private String _executionTime; private final int _initialBuildNumber; private Map _initialTableCounts;