OpenSearch/plugins/analysis-icu
Lee Hinman 8e8fdc4f0e
Decouple XContentBuilder from BytesReference (#28972)
* Decouple XContentBuilder from BytesReference

This commit removes all mentions of `BytesReference` from `XContentBuilder`.
This is needed so that we can completely decouple the XContent code and move it
into its own dependency.

While this change appears large, it is due to two main changes, moving
`.bytes()` and `.string()` out of XContentBuilder itself into static methods
`BytesReference.bytes` and `Strings.toString` respectively. The rest of the
change is code reacting to these changes (the majority of it in tests).

Relates to #28504
2018-03-14 13:47:57 -06:00
..
bin/licenses Upgrade to lucene-7.0.0-snapshot-ad2cb77. (#25349) 2017-06-22 12:35:33 +02:00
licenses upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
src Decouple XContentBuilder from BytesReference (#28972) 2018-03-14 13:47:57 -06:00
build.gradle forbid ICU Collator creation with default locale (#26476) 2017-09-07 14:47:52 -07:00