mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 13:55:57 +00:00
Remove and forbid use of com.google.common.base.Strings
This commit removes and now forbids all uses of com.google.common.base.Strings across the codebase. For uses of com.google.common.base.Strings.isNullOrEmpty, use org.elasticsearch.common.Strings.isNullOrEmpty. For uses of com.google.common.base.Strings.padStart use org.elasticsearch.common.Strings.padStart. For uses of com.google.common.base.Strings.nullToEmpty use org.elasticsearch.common.Strings.coalesceToEmpty. Relates elastic/elasticsearchelastic/elasticsearch#13224 Original commit: elastic/x-pack-elasticsearch@d6e349e654
This commit is contained in:
parent
32812c2139
commit
9a729638da
@ -5,7 +5,7 @@
|
||||
*/
|
||||
package org.elasticsearch.shield.authc.pki;
|
||||
|
||||
import com.google.common.base.Strings;
|
||||
import org.elasticsearch.common.Strings;
|
||||
import org.elasticsearch.common.inject.Inject;
|
||||
import org.elasticsearch.common.logging.ESLogger;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
|
Loading…
x
Reference in New Issue
Block a user