move usages of StringCompressor to outside of TagsBuilder
This commit is contained in:
@@ -25,10 +25,9 @@ public class TagsBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public TagsBuilder add(final String key, final String value) {
|
||||
final int keyAsInt = Tags.STRING_COMPRESSOR.getIfPresent(key);
|
||||
final int valueAsInt = Tags.STRING_COMPRESSOR.getIfPresent(value);
|
||||
return add(keyAsInt, valueAsInt);
|
||||
public TagsBuilder add(final Tag tag) {
|
||||
tags.add(tag);
|
||||
return this;
|
||||
}
|
||||
|
||||
public TagsBuilder addAndAddToDictionary(final String key, final String value) {
|
||||
|
||||
Reference in New Issue
Block a user