summaryrefslogtreecommitdiffstats
path: root/config_test/src/main/java/com/yahoo/configtest/Demo.java
blob: 44b42c79de3692d863e2e168b87235eb87b05e2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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();
    }
}