Skip to content

Commit 9f413ed

Browse files
committed
Add java_version
1 parent 567740c commit 9f413ed

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ratis-common/src/main/java/org/apache/ratis/util/VersionInfo.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,9 @@ public void printStartupMessages(Object name, Consumer<String> log) {
118118
log.accept(String.format("Starting %s -- %s %s"
119119
, coreEntries.getOrDefault(Key.NAME), clazz.getSimpleName(), name));
120120
log.accept(coreEntries.format(Key.VERSION));
121-
log.accept(coreEntries.format(Key.REVISION));
122121
log.accept(coreEntries.format(Key.URL));
122+
log.accept(coreEntries.format(Key.REVISION));
123+
log.accept(coreEntries.format(Key.JAVA_VERSION));
123124

124125
for (Map.Entry<String, String> e : otherEntries.entrySet()) {
125126
log.accept(String.format(FORMAT, e.getKey(), e.getValue()));

0 commit comments

Comments
 (0)