Fix access of yaml config

This commit is contained in:
md_5 2013-09-24 12:11:04 +10:00
parent 32a5271dc3
commit 103a509f26

View File

@ -5,10 +5,13 @@ import java.io.FileReader;
import java.io.IOException; import java.io.IOException;
import java.io.Reader; import java.io.Reader;
import java.util.Map; import java.util.Map;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;
import org.yaml.snakeyaml.DumperOptions; import org.yaml.snakeyaml.DumperOptions;
import org.yaml.snakeyaml.Yaml; import org.yaml.snakeyaml.Yaml;
class YamlConfiguration extends ConfigurationProvider @NoArgsConstructor(access = AccessLevel.PACKAGE)
public class YamlConfiguration extends ConfigurationProvider
{ {
private final ThreadLocal<Yaml> yaml = new ThreadLocal<Yaml>() private final ThreadLocal<Yaml> yaml = new ThreadLocal<Yaml>()