Hi,
is it useful to safe some code and allow
List<Variant> variants =
Variant.newListBuilder().mediaTypes(...).languages(...).build(); ?
Now the deveolper must call
List<Variant> variants =
VariantListBuilder.newInstance().mediaTypes(...).languages(...).build();
This proposal corresponds to Response, where you also don't need to
directly call the ResponseBilder. The newInstance() call doesn't look
nice in application code IMO.
And it saves some chars of code and an import statement :-)
best regards
Stephan