mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-01 23:47:50 +00:00
Make RangeLoader inner class private
Also removes redundant suppression
This commit is contained in:
parent
4065cfea53
commit
b8586135b8
@ -34,7 +34,6 @@ import com.dfsek.terra.api.util.ConstantRange;
|
||||
import com.dfsek.terra.api.util.Range;
|
||||
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public class RangeLoader implements TypeLoader<Range> {
|
||||
@Override
|
||||
public Range load(@NotNull AnnotatedType type, @NotNull Object o, @NotNull ConfigLoader configLoader, DepthTracker depthTracker)
|
||||
@ -50,7 +49,7 @@ public class RangeLoader implements TypeLoader<Range> {
|
||||
/*
|
||||
* Template needed so keys can be meta annotated, otherwise the loader could just grab keys directly from the object
|
||||
*/
|
||||
public static class RangeMapTemplate implements ObjectTemplate<Range> {
|
||||
private static class RangeMapTemplate implements ObjectTemplate<Range> {
|
||||
@Value("min")
|
||||
private @Meta int min;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user