Hi Marc,
another point: IMO it is useful to have the option to start with an
empty VariantListBuilder.
If a Variant List is build, the VariantListBuilder is reset to an empty
builder. I think it should be possible to directly create an empty
VariantListBuilder without
VariantListBuilder vlb = Varinat.mediaTypes(); or Varinat.languages();
or Varinat.encodings();
so let additional insert
Variant.newListBuilder()
best regards
Stephan
Marc Hadley schrieb:
> On Jun 26, 2008, at 6:48 AM, Stephan Koops wrote:
>>
>> is it useful to safe some code and allow
>> List<Variant> variants =
>> Variant.newListBuilder().mediaTypes(...).languages(...).build(); ?
>>
> Yes. We can even avoid the newListBuilder if we add static mediaTypes,
> languages, ... methods. I'll do that.
>
> Marc.