From a4345d11453fc7d80e7814c27605ce1a5caa23f8 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Wed, 8 Jan 2020 01:20:27 +0100 Subject: new versions for docker --- docker/shared/modules/src/main/java/foo/HelloWorld.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docker/shared/modules/src/main/java/foo/HelloWorld.java (limited to 'docker/shared/modules/src/main/java/foo/HelloWorld.java') diff --git a/docker/shared/modules/src/main/java/foo/HelloWorld.java b/docker/shared/modules/src/main/java/foo/HelloWorld.java new file mode 100644 index 00000000..9c2abbba --- /dev/null +++ b/docker/shared/modules/src/main/java/foo/HelloWorld.java @@ -0,0 +1,14 @@ +package foo; + +@lombok.Data +public class HelloWorld { + private final int answer; + + public static void main(String... args) { + System.out.println(new HelloWorld(42).getAnswer()); + } + + @FunctionalInterface interface Foo { + String name(); + } +} -- cgit