refactoring: encapsulation

This commit is contained in:
Andrey 2023-01-15 20:50:01 -05:00
parent 7c3255ebf5
commit c117c359b5
2 changed files with 1 additions and 9 deletions

View File

@ -376,8 +376,7 @@ public class ConfigFieldImpl implements ConfigField {
return new Pair<>(mul, div);
}
@Override
public String[] getTokens() {
private String[] getTokens() {
if (tsInfo == null)
return new String[0];
return tsInfo.split(",");

View File

@ -110,11 +110,6 @@ public interface ConfigField {
return null;
}
@Override
public String[] getTokens() {
return new String[0];
}
@Override
public String getUnits() {
return null;
@ -198,8 +193,6 @@ public interface ConfigField {
Pair<Integer, Integer> autoscaleSpecPair();
String[] getTokens();
String getUnits();
double getMin();