[Spring] remove deprecated annotation from no-args constructor (#15512)

This commit is contained in:
Oleh Kurpiak
2023-05-15 14:13:18 +03:00
committed by GitHub
parent 66caaf9a33
commit 54cb33c6a1
225 changed files with 0 additions and 1125 deletions

View File

@@ -39,11 +39,6 @@ public class Animal {
private String color = "red";
/**
* Default constructor
* @deprecated Use {@link Animal#Animal(String)}
*/
@Deprecated
public Animal() {
super();
}

View File

@@ -29,11 +29,6 @@ public class Cat extends Animal {
private Boolean declawed;
/**
* Default constructor
* @deprecated Use {@link Cat#Cat(String)}
*/
@Deprecated
public Cat() {
super();
}

View File

@@ -26,11 +26,6 @@ public class Category {
private String name = "default-name";
/**
* Default constructor
* @deprecated Use {@link Category#Category(String)}
*/
@Deprecated
public Category() {
super();
}

View File

@@ -29,11 +29,6 @@ public class Dog extends Animal {
private String breed;
/**
* Default constructor
* @deprecated Use {@link Dog#Dog(String)}
*/
@Deprecated
public Dog() {
super();
}

View File

@@ -180,11 +180,6 @@ public class EnumTest {
private OuterEnum outerEnum;
/**
* Default constructor
* @deprecated Use {@link EnumTest#EnumTest(EnumStringRequiredEnum)}
*/
@Deprecated
public EnumTest() {
super();
}

View File

@@ -60,11 +60,6 @@ public class FormatTest {
private BigDecimal bigDecimal;
/**
* Default constructor
* @deprecated Use {@link FormatTest#FormatTest(BigDecimal, byte[], LocalDate, String)}
*/
@Deprecated
public FormatTest() {
super();
}

View File

@@ -31,11 +31,6 @@ public class Name {
private Integer _123number;
/**
* Default constructor
* @deprecated Use {@link Name#Name(Integer)}
*/
@Deprecated
public Name() {
super();
}

View File

@@ -78,11 +78,6 @@ public class Pet {
private StatusEnum status;
/**
* Default constructor
* @deprecated Use {@link Pet#Pet(String, List<String>)}
*/
@Deprecated
public Pet() {
super();
}

View File

@@ -36,11 +36,6 @@ public class TypeHolderDefault {
@Valid
private List<Integer> arrayItem = new ArrayList<>();
/**
* Default constructor
* @deprecated Use {@link TypeHolderDefault#TypeHolderDefault(String, BigDecimal, Integer, Boolean, List<Integer>)}
*/
@Deprecated
public TypeHolderDefault() {
super();
}

View File

@@ -38,11 +38,6 @@ public class TypeHolderExample {
@Valid
private List<Integer> arrayItem = new ArrayList<>();
/**
* Default constructor
* @deprecated Use {@link TypeHolderExample#TypeHolderExample(String, BigDecimal, Float, Integer, Boolean, List<Integer>)}
*/
@Deprecated
public TypeHolderExample() {
super();
}