refactor: remove unused constructor

This commit is contained in:
ineanto 2023-12-23 00:06:30 +01:00
parent b394c7ef0c
commit 95b4f4cdef
2 changed files with 2 additions and 8 deletions

View file

@ -17,12 +17,6 @@ public class CustomLocale {
private final Version versionObject;
private final YamlConfig yamlFile;
public CustomLocale(InputStream input) throws IOException {
this.yamlFile = new YamlConfig(input);
this.version = yamlFile.getString("version");
this.versionObject = Version.fromString(version);
}
public CustomLocale() throws IOException {
this.yamlFile = new YamlConfig(new FileInputStream(file));
this.version = yamlFile.getString("version");