fix yaml source constructor

this should not be public, you ought to use the `of` methods
This commit is contained in:
Joseph Petersen 2021-02-10 13:38:06 +01:00 committed by GitHub
parent d2f06c9876
commit f33b33bb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ public class YamlSource<T> {
public final T source;
public YamlSource(T source) {
private YamlSource(T source) {
this.source = source;
}