File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/aem/core/src/main/java/com/cognifide/apm/core Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public ExecutionStatus checkStatus(String id) {
88
88
private ExecutionStatus finishedExecution (ExecutionSummary executionSummary ) {
89
89
String path = executionSummary .getPath ();
90
90
long timestamp = executionSummary .getResult ().getStartTime ().getTimeInMillis ();
91
- String formattedDate = DateFormatter .determineFormattedDate (executionSummary .getResult ().getStartTime ());
91
+ String formattedDate = DateFormatter .format (executionSummary .getResult ().getStartTime ());
92
92
List <ExecutionResult .Entry > entries = executionSummary .getResult ().getEntries ();
93
93
ExecutionResult .Entry errorEntry = executionSummary .getResult ().getLastError ();
94
94
if (errorEntry != null ) {
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ public class DateFormatter {
36
36
37
37
@ PostConstruct
38
38
private void afterCreated () {
39
- formattedDate = determineFormattedDate (date );
39
+ formattedDate = format (date );
40
40
}
41
41
42
- public static String determineFormattedDate (Calendar date ) {
42
+ public static String format (Calendar date ) {
43
43
SimpleDateFormat simpleDateFormat = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss" );
44
44
return simpleDateFormat .format (date .getTime ());
45
45
}
You can’t perform that action at this time.
0 commit comments