doc & greener code
This commit is contained in:
parent
013cd08b35
commit
d2f54daefd
|
@ -36,6 +36,9 @@ public class VariableRegistry {
|
|||
public VariableRegistry() {
|
||||
}
|
||||
|
||||
/**
|
||||
* @return value>name map for specified enum name.
|
||||
*/
|
||||
@Nullable
|
||||
public TreeMap<Integer, String> resolveEnumValues(EnumsReader enumsReader, String enumName) {
|
||||
TreeMap<Integer, String> valueNameById = new TreeMap<>();
|
||||
|
@ -220,7 +223,7 @@ public class VariableRegistry {
|
|||
}
|
||||
|
||||
public String getJavaConstants() {
|
||||
StringBuffer result = new StringBuffer();
|
||||
StringBuilder result = new StringBuilder();
|
||||
for (String value : javaDefinitions.values())
|
||||
result.append(value);
|
||||
return result.toString();
|
||||
|
|
Loading…
Reference in New Issue