Skip to content

Commit 85b547d

Browse files
author
Vladimir Kotal
committed
return directly
1 parent 5463b13 commit 85b547d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

opengrok-web/src/main/java/org/opengrok/web/api/v1/controller/SystemController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public String getIndexTime() throws JsonProcessingException {
9090
ObjectMapper mapper = new ObjectMapper();
9191
// StdDateFormat is ISO8601 since jackson 2.9
9292
mapper.setDateFormat(new StdDateFormat().withColonInTimeZone(true));
93-
String result = mapper.writeValueAsString(date);
94-
return result;
93+
return mapper.writeValueAsString(date);
9594
}
9695
}

0 commit comments

Comments
 (0)