Cleaned up examples.
This commit is contained in:
parent
d0a4b8c5f2
commit
60fe89a87a
3 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@ public class Example {
|
|||
|
||||
System.out.println("-- From Java ----------------------------------------");
|
||||
|
||||
System.out.println(" " + GeneratedVersion.project + ' ' + GeneratedVersion.getVersion());
|
||||
System.out.println(" " + GeneratedVersion.project + ' ' + GeneratedVersion.version);
|
||||
|
||||
System.out.println(" Built on: " + sdf.format(GeneratedVersion.buildDate));
|
||||
System.out.println(" Major: " + GeneratedVersion.major);
|
||||
|
|
|
@ -8,6 +8,7 @@ class Main {
|
|||
companion object {
|
||||
@JvmStatic fun main(args: Array<String>) {
|
||||
val sdf = SimpleDateFormat("EEE, d MMM yyyy 'at' HH:mm:ss z")
|
||||
|
||||
println("-----------------------------------------------------")
|
||||
|
||||
println(" ${GeneratedVersion.project} ${GeneratedVersion.version}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue