summaryrefslogtreecommitdiffstats
path: root/config_test/src/main/java/com/yahoo/configtest/Demo.java
diff options
context:
space:
mode:
Diffstat (limited to 'config_test/src/main/java/com/yahoo/configtest/Demo.java')
-rw-r--r--config_test/src/main/java/com/yahoo/configtest/Demo.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/config_test/src/main/java/com/yahoo/configtest/Demo.java b/config_test/src/main/java/com/yahoo/configtest/Demo.java
new file mode 100644
index 00000000000..44b42c79de3
--- /dev/null
+++ b/config_test/src/main/java/com/yahoo/configtest/Demo.java
@@ -0,0 +1,14 @@
+// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+package com.yahoo.configtest;
+
+/**
+ * Just check we manage to compile something that requires configuration and
+ * has no dependencies to Vespa.
+ */
+public class Demo {
+ public final String greeting;
+
+ public Demo(GreetingConfig config) {
+ greeting = config.greeting();
+ }
+}