resolve merge issues

This commit is contained in:
dfsek
2021-04-11 00:53:21 -07:00
parent 88a7397bbe
commit 75cb6be36f
@@ -20,7 +20,7 @@ import java.util.stream.Collectors;
* @param <T> * @param <T>
*/ */
public class OpenRegistry<T> implements Registry<T> { public class OpenRegistry<T> implements Registry<T> {
private final Map<String, T> objects; private final Map<String, Entry<T>> objects;
public OpenRegistry() { public OpenRegistry() {
objects = new HashMap<>(); objects = new HashMap<>();
@@ -29,7 +29,6 @@ public class OpenRegistry<T> implements Registry<T> {
protected OpenRegistry(Map<String, Entry<T>> init) { protected OpenRegistry(Map<String, Entry<T>> init) {
this.objects = init; this.objects = init;
} }
private final Map<String, Entry<T>> objects = new HashMap<>();
@Override @Override
public T load(Type type, Object o, ConfigLoader configLoader) throws LoadException { public T load(Type type, Object o, ConfigLoader configLoader) throws LoadException {