mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-24 03:05:17 +01:00
Minor - improve previous commit
This commit is contained in:
parent
b3a3843b60
commit
83c02f487f
@ -27,8 +27,7 @@ public class TagReplacer {
|
||||
* Replace a template with default tags and custom ones supplied by a map.
|
||||
*
|
||||
* @param template The template to process
|
||||
* @param tagValues Map with additional tags, e.g. a map entry with key "foo" and value "bar" will replace
|
||||
* any occurrences of "{foo}" to "bar".
|
||||
* @param tagValues Container with tags and their associated values
|
||||
* @return The filled template
|
||||
*/
|
||||
public static String applyReplacements(String template, TagValueHolder tagValues) {
|
||||
|
@ -27,11 +27,6 @@ public abstract class TagValue<T> {
|
||||
public boolean isEmpty() {
|
||||
return getValue().isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return super.hashCode();
|
||||
}
|
||||
}
|
||||
|
||||
public static final class NestedTagValue extends TagValue<List<TagValueHolder>> {
|
||||
|
Loading…
Reference in New Issue
Block a user