Skip to content

Commit

Permalink
Make JAX-RS BuilderImpl class non-final to fix WELD-001503 issue (#18724
Browse files Browse the repository at this point in the history
)

Fixes #17875
  • Loading branch information
jpraet authored May 26, 2024
1 parent 5e8b589 commit 6a9b100
Show file tree
Hide file tree
Showing 159 changed files with 159 additions and 159 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public class {{classname}} {{#parent}}extends {{{.}}}{{/parent}} {{#vendorExtens
return new {{classname}}BuilderImpl();
}

private static final class {{classname}}BuilderImpl extends {{classname}}Builder<{{classname}}, {{classname}}BuilderImpl> {
private static class {{classname}}BuilderImpl extends {{classname}}Builder<{{classname}}, {{classname}}BuilderImpl> {
@Override
protected {{classname}}BuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ private String toIndentedString(Object o) {
return new AdditionalPropertiesClassBuilderImpl();
}

private static final class AdditionalPropertiesClassBuilderImpl extends AdditionalPropertiesClassBuilder<AdditionalPropertiesClass, AdditionalPropertiesClassBuilderImpl> {
private static class AdditionalPropertiesClassBuilderImpl extends AdditionalPropertiesClassBuilder<AdditionalPropertiesClass, AdditionalPropertiesClassBuilderImpl> {

@Override
protected AdditionalPropertiesClassBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private String toIndentedString(Object o) {
return new AnimalBuilderImpl();
}

private static final class AnimalBuilderImpl extends AnimalBuilder<Animal, AnimalBuilderImpl> {
private static class AnimalBuilderImpl extends AnimalBuilder<Animal, AnimalBuilderImpl> {

@Override
protected AnimalBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private String toIndentedString(Object o) {
return new ArrayOfArrayOfNumberOnlyBuilderImpl();
}

private static final class ArrayOfArrayOfNumberOnlyBuilderImpl extends ArrayOfArrayOfNumberOnlyBuilder<ArrayOfArrayOfNumberOnly, ArrayOfArrayOfNumberOnlyBuilderImpl> {
private static class ArrayOfArrayOfNumberOnlyBuilderImpl extends ArrayOfArrayOfNumberOnlyBuilder<ArrayOfArrayOfNumberOnly, ArrayOfArrayOfNumberOnlyBuilderImpl> {

@Override
protected ArrayOfArrayOfNumberOnlyBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private String toIndentedString(Object o) {
return new ArrayOfNumberOnlyBuilderImpl();
}

private static final class ArrayOfNumberOnlyBuilderImpl extends ArrayOfNumberOnlyBuilder<ArrayOfNumberOnly, ArrayOfNumberOnlyBuilderImpl> {
private static class ArrayOfNumberOnlyBuilderImpl extends ArrayOfNumberOnlyBuilder<ArrayOfNumberOnly, ArrayOfNumberOnlyBuilderImpl> {

@Override
protected ArrayOfNumberOnlyBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private String toIndentedString(Object o) {
return new ArrayTestBuilderImpl();
}

private static final class ArrayTestBuilderImpl extends ArrayTestBuilder<ArrayTest, ArrayTestBuilderImpl> {
private static class ArrayTestBuilderImpl extends ArrayTestBuilder<ArrayTest, ArrayTestBuilderImpl> {

@Override
protected ArrayTestBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private String toIndentedString(Object o) {
return new BigCatBuilderImpl();
}

private static final class BigCatBuilderImpl extends BigCatBuilder<BigCat, BigCatBuilderImpl> {
private static class BigCatBuilderImpl extends BigCatBuilder<BigCat, BigCatBuilderImpl> {

@Override
protected BigCatBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private String toIndentedString(Object o) {
return new CapitalizationBuilderImpl();
}

private static final class CapitalizationBuilderImpl extends CapitalizationBuilder<Capitalization, CapitalizationBuilderImpl> {
private static class CapitalizationBuilderImpl extends CapitalizationBuilder<Capitalization, CapitalizationBuilderImpl> {

@Override
protected CapitalizationBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private String toIndentedString(Object o) {
return new CatBuilderImpl();
}

private static final class CatBuilderImpl extends CatBuilder<Cat, CatBuilderImpl> {
private static class CatBuilderImpl extends CatBuilder<Cat, CatBuilderImpl> {

@Override
protected CatBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private String toIndentedString(Object o) {
return new CategoryBuilderImpl();
}

private static final class CategoryBuilderImpl extends CategoryBuilder<Category, CategoryBuilderImpl> {
private static class CategoryBuilderImpl extends CategoryBuilder<Category, CategoryBuilderImpl> {

@Override
protected CategoryBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private String toIndentedString(Object o) {
return new ClassModelBuilderImpl();
}

private static final class ClassModelBuilderImpl extends ClassModelBuilder<ClassModel, ClassModelBuilderImpl> {
private static class ClassModelBuilderImpl extends ClassModelBuilder<ClassModel, ClassModelBuilderImpl> {

@Override
protected ClassModelBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private String toIndentedString(Object o) {
return new ClientBuilderImpl();
}

private static final class ClientBuilderImpl extends ClientBuilder<Client, ClientBuilderImpl> {
private static class ClientBuilderImpl extends ClientBuilder<Client, ClientBuilderImpl> {

@Override
protected ClientBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private String toIndentedString(Object o) {
return new DogBuilderImpl();
}

private static final class DogBuilderImpl extends DogBuilder<Dog, DogBuilderImpl> {
private static class DogBuilderImpl extends DogBuilder<Dog, DogBuilderImpl> {

@Override
protected DogBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ private String toIndentedString(Object o) {
return new EnumArraysBuilderImpl();
}

private static final class EnumArraysBuilderImpl extends EnumArraysBuilder<EnumArrays, EnumArraysBuilderImpl> {
private static class EnumArraysBuilderImpl extends EnumArraysBuilder<EnumArrays, EnumArraysBuilderImpl> {

@Override
protected EnumArraysBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ private String toIndentedString(Object o) {
return new EnumTestBuilderImpl();
}

private static final class EnumTestBuilderImpl extends EnumTestBuilder<EnumTest, EnumTestBuilderImpl> {
private static class EnumTestBuilderImpl extends EnumTestBuilder<EnumTest, EnumTestBuilderImpl> {

@Override
protected EnumTestBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private String toIndentedString(Object o) {
return new FileSchemaTestClassBuilderImpl();
}

private static final class FileSchemaTestClassBuilderImpl extends FileSchemaTestClassBuilder<FileSchemaTestClass, FileSchemaTestClassBuilderImpl> {
private static class FileSchemaTestClassBuilderImpl extends FileSchemaTestClassBuilder<FileSchemaTestClass, FileSchemaTestClassBuilderImpl> {

@Override
protected FileSchemaTestClassBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ private String toIndentedString(Object o) {
return new FormatTestBuilderImpl();
}

private static final class FormatTestBuilderImpl extends FormatTestBuilder<FormatTest, FormatTestBuilderImpl> {
private static class FormatTestBuilderImpl extends FormatTestBuilder<FormatTest, FormatTestBuilderImpl> {

@Override
protected FormatTestBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private String toIndentedString(Object o) {
return new HasOnlyReadOnlyBuilderImpl();
}

private static final class HasOnlyReadOnlyBuilderImpl extends HasOnlyReadOnlyBuilder<HasOnlyReadOnly, HasOnlyReadOnlyBuilderImpl> {
private static class HasOnlyReadOnlyBuilderImpl extends HasOnlyReadOnlyBuilder<HasOnlyReadOnly, HasOnlyReadOnlyBuilderImpl> {

@Override
protected HasOnlyReadOnlyBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ private String toIndentedString(Object o) {
return new MapTestBuilderImpl();
}

private static final class MapTestBuilderImpl extends MapTestBuilder<MapTest, MapTestBuilderImpl> {
private static class MapTestBuilderImpl extends MapTestBuilder<MapTest, MapTestBuilderImpl> {

@Override
protected MapTestBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ private String toIndentedString(Object o) {
return new MixedPropertiesAndAdditionalPropertiesClassBuilderImpl();
}

private static final class MixedPropertiesAndAdditionalPropertiesClassBuilderImpl extends MixedPropertiesAndAdditionalPropertiesClassBuilder<MixedPropertiesAndAdditionalPropertiesClass, MixedPropertiesAndAdditionalPropertiesClassBuilderImpl> {
private static class MixedPropertiesAndAdditionalPropertiesClassBuilderImpl extends MixedPropertiesAndAdditionalPropertiesClassBuilder<MixedPropertiesAndAdditionalPropertiesClass, MixedPropertiesAndAdditionalPropertiesClassBuilderImpl> {

@Override
protected MixedPropertiesAndAdditionalPropertiesClassBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private String toIndentedString(Object o) {
return new Model200ResponseBuilderImpl();
}

private static final class Model200ResponseBuilderImpl extends Model200ResponseBuilder<Model200Response, Model200ResponseBuilderImpl> {
private static class Model200ResponseBuilderImpl extends Model200ResponseBuilder<Model200Response, Model200ResponseBuilderImpl> {

@Override
protected Model200ResponseBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private String toIndentedString(Object o) {
return new ModelApiResponseBuilderImpl();
}

private static final class ModelApiResponseBuilderImpl extends ModelApiResponseBuilder<ModelApiResponse, ModelApiResponseBuilderImpl> {
private static class ModelApiResponseBuilderImpl extends ModelApiResponseBuilder<ModelApiResponse, ModelApiResponseBuilderImpl> {

@Override
protected ModelApiResponseBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private String toIndentedString(Object o) {
return new ModelFileBuilderImpl();
}

private static final class ModelFileBuilderImpl extends ModelFileBuilder<ModelFile, ModelFileBuilderImpl> {
private static class ModelFileBuilderImpl extends ModelFileBuilder<ModelFile, ModelFileBuilderImpl> {

@Override
protected ModelFileBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private String toIndentedString(Object o) {
return new ModelListBuilderImpl();
}

private static final class ModelListBuilderImpl extends ModelListBuilder<ModelList, ModelListBuilderImpl> {
private static class ModelListBuilderImpl extends ModelListBuilder<ModelList, ModelListBuilderImpl> {

@Override
protected ModelListBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private String toIndentedString(Object o) {
return new ModelReturnBuilderImpl();
}

private static final class ModelReturnBuilderImpl extends ModelReturnBuilder<ModelReturn, ModelReturnBuilderImpl> {
private static class ModelReturnBuilderImpl extends ModelReturnBuilder<ModelReturn, ModelReturnBuilderImpl> {

@Override
protected ModelReturnBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private String toIndentedString(Object o) {
return new NameBuilderImpl();
}

private static final class NameBuilderImpl extends NameBuilder<Name, NameBuilderImpl> {
private static class NameBuilderImpl extends NameBuilder<Name, NameBuilderImpl> {

@Override
protected NameBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private String toIndentedString(Object o) {
return new NumberOnlyBuilderImpl();
}

private static final class NumberOnlyBuilderImpl extends NumberOnlyBuilder<NumberOnly, NumberOnlyBuilderImpl> {
private static class NumberOnlyBuilderImpl extends NumberOnlyBuilder<NumberOnly, NumberOnlyBuilderImpl> {

@Override
protected NumberOnlyBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ private String toIndentedString(Object o) {
return new OrderBuilderImpl();
}

private static final class OrderBuilderImpl extends OrderBuilder<Order, OrderBuilderImpl> {
private static class OrderBuilderImpl extends OrderBuilder<Order, OrderBuilderImpl> {

@Override
protected OrderBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private String toIndentedString(Object o) {
return new OuterCompositeBuilderImpl();
}

private static final class OuterCompositeBuilderImpl extends OuterCompositeBuilder<OuterComposite, OuterCompositeBuilderImpl> {
private static class OuterCompositeBuilderImpl extends OuterCompositeBuilder<OuterComposite, OuterCompositeBuilderImpl> {

@Override
protected OuterCompositeBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ private String toIndentedString(Object o) {
return new PetBuilderImpl();
}

private static final class PetBuilderImpl extends PetBuilder<Pet, PetBuilderImpl> {
private static class PetBuilderImpl extends PetBuilder<Pet, PetBuilderImpl> {

@Override
protected PetBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private String toIndentedString(Object o) {
return new ReadOnlyFirstBuilderImpl();
}

private static final class ReadOnlyFirstBuilderImpl extends ReadOnlyFirstBuilder<ReadOnlyFirst, ReadOnlyFirstBuilderImpl> {
private static class ReadOnlyFirstBuilderImpl extends ReadOnlyFirstBuilder<ReadOnlyFirst, ReadOnlyFirstBuilderImpl> {

@Override
protected ReadOnlyFirstBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ private String toIndentedString(Object o) {
return new SpecialModelNameBuilderImpl();
}

private static final class SpecialModelNameBuilderImpl extends SpecialModelNameBuilder<SpecialModelName, SpecialModelNameBuilderImpl> {
private static class SpecialModelNameBuilderImpl extends SpecialModelNameBuilder<SpecialModelName, SpecialModelNameBuilderImpl> {

@Override
protected SpecialModelNameBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ private String toIndentedString(Object o) {
return new TagBuilderImpl();
}

private static final class TagBuilderImpl extends TagBuilder<Tag, TagBuilderImpl> {
private static class TagBuilderImpl extends TagBuilder<Tag, TagBuilderImpl> {

@Override
protected TagBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private String toIndentedString(Object o) {
return new TypeHolderDefaultBuilderImpl();
}

private static final class TypeHolderDefaultBuilderImpl extends TypeHolderDefaultBuilder<TypeHolderDefault, TypeHolderDefaultBuilderImpl> {
private static class TypeHolderDefaultBuilderImpl extends TypeHolderDefaultBuilder<TypeHolderDefault, TypeHolderDefaultBuilderImpl> {

@Override
protected TypeHolderDefaultBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ private String toIndentedString(Object o) {
return new TypeHolderExampleBuilderImpl();
}

private static final class TypeHolderExampleBuilderImpl extends TypeHolderExampleBuilder<TypeHolderExample, TypeHolderExampleBuilderImpl> {
private static class TypeHolderExampleBuilderImpl extends TypeHolderExampleBuilder<TypeHolderExample, TypeHolderExampleBuilderImpl> {

@Override
protected TypeHolderExampleBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private String toIndentedString(Object o) {
return new UserBuilderImpl();
}

private static final class UserBuilderImpl extends UserBuilder<User, UserBuilderImpl> {
private static class UserBuilderImpl extends UserBuilder<User, UserBuilderImpl> {

@Override
protected UserBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ private String toIndentedString(Object o) {
return new XmlItemBuilderImpl();
}

private static final class XmlItemBuilderImpl extends XmlItemBuilder<XmlItem, XmlItemBuilderImpl> {
private static class XmlItemBuilderImpl extends XmlItemBuilder<XmlItem, XmlItemBuilderImpl> {

@Override
protected XmlItemBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ private String toIndentedString(Object o) {
return new AdditionalPropertiesClassBuilderImpl();
}

private static final class AdditionalPropertiesClassBuilderImpl extends AdditionalPropertiesClassBuilder<AdditionalPropertiesClass, AdditionalPropertiesClassBuilderImpl> {
private static class AdditionalPropertiesClassBuilderImpl extends AdditionalPropertiesClassBuilder<AdditionalPropertiesClass, AdditionalPropertiesClassBuilderImpl> {

@Override
protected AdditionalPropertiesClassBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private String toIndentedString(Object o) {
return new AnimalBuilderImpl();
}

private static final class AnimalBuilderImpl extends AnimalBuilder<Animal, AnimalBuilderImpl> {
private static class AnimalBuilderImpl extends AnimalBuilder<Animal, AnimalBuilderImpl> {

@Override
protected AnimalBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private String toIndentedString(Object o) {
return new ArrayOfArrayOfNumberOnlyBuilderImpl();
}

private static final class ArrayOfArrayOfNumberOnlyBuilderImpl extends ArrayOfArrayOfNumberOnlyBuilder<ArrayOfArrayOfNumberOnly, ArrayOfArrayOfNumberOnlyBuilderImpl> {
private static class ArrayOfArrayOfNumberOnlyBuilderImpl extends ArrayOfArrayOfNumberOnlyBuilder<ArrayOfArrayOfNumberOnly, ArrayOfArrayOfNumberOnlyBuilderImpl> {

@Override
protected ArrayOfArrayOfNumberOnlyBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private String toIndentedString(Object o) {
return new ArrayOfNumberOnlyBuilderImpl();
}

private static final class ArrayOfNumberOnlyBuilderImpl extends ArrayOfNumberOnlyBuilder<ArrayOfNumberOnly, ArrayOfNumberOnlyBuilderImpl> {
private static class ArrayOfNumberOnlyBuilderImpl extends ArrayOfNumberOnlyBuilder<ArrayOfNumberOnly, ArrayOfNumberOnlyBuilderImpl> {

@Override
protected ArrayOfNumberOnlyBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private String toIndentedString(Object o) {
return new ArrayTestBuilderImpl();
}

private static final class ArrayTestBuilderImpl extends ArrayTestBuilder<ArrayTest, ArrayTestBuilderImpl> {
private static class ArrayTestBuilderImpl extends ArrayTestBuilder<ArrayTest, ArrayTestBuilderImpl> {

@Override
protected ArrayTestBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private String toIndentedString(Object o) {
return new BigCatBuilderImpl();
}

private static final class BigCatBuilderImpl extends BigCatBuilder<BigCat, BigCatBuilderImpl> {
private static class BigCatBuilderImpl extends BigCatBuilder<BigCat, BigCatBuilderImpl> {

@Override
protected BigCatBuilderImpl self() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ private String toIndentedString(Object o) {
return new CapitalizationBuilderImpl();
}

private static final class CapitalizationBuilderImpl extends CapitalizationBuilder<Capitalization, CapitalizationBuilderImpl> {
private static class CapitalizationBuilderImpl extends CapitalizationBuilder<Capitalization, CapitalizationBuilderImpl> {

@Override
protected CapitalizationBuilderImpl self() {
Expand Down
Loading

0 comments on commit 6a9b100

Please sign in to comment.