Skip to content

Commit

Permalink
8240688: Remove the JavaBeanXxxPropertyBuilders constructors
Browse files Browse the repository at this point in the history
Reviewed-by: kcr, arapte
  • Loading branch information
nlisker committed Mar 9, 2020
1 parent cfa1193 commit e3026b9
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public final class JavaBeanBooleanPropertyBuilder {

private final JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanBooleanPropertyBuilder() {}
private JavaBeanBooleanPropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanBooleanPropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public final class JavaBeanDoublePropertyBuilder {

private final JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanDoublePropertyBuilder() {}
private JavaBeanDoublePropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanDoublePropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public final class JavaBeanFloatPropertyBuilder {

private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanFloatPropertyBuilder() {}
private JavaBeanFloatPropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanFloatPropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public final class JavaBeanIntegerPropertyBuilder {

private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanIntegerPropertyBuilder() {}
private JavaBeanIntegerPropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanIntegerPropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public final class JavaBeanLongPropertyBuilder {

private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanLongPropertyBuilder() {}
private JavaBeanLongPropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanLongPropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ public final class JavaBeanObjectPropertyBuilder<T> {

private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanObjectPropertyBuilder() {}
private JavaBeanObjectPropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanObjectPropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ public final class JavaBeanStringPropertyBuilder {

private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public JavaBeanStringPropertyBuilder() {}
private JavaBeanStringPropertyBuilder() {}

/**
* Creates a new instance of {@code JavaBeanStringPropertyBuilder}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public final class ReadOnlyJavaBeanBooleanPropertyBuilder {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanBooleanPropertyBuilder() {}
private ReadOnlyJavaBeanBooleanPropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanBooleanPropertyBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public final class ReadOnlyJavaBeanDoublePropertyBuilder {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanDoublePropertyBuilder() {}
private ReadOnlyJavaBeanDoublePropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanDoublePropertyBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public final class ReadOnlyJavaBeanFloatPropertyBuilder {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanFloatPropertyBuilder() {}
private ReadOnlyJavaBeanFloatPropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanFloatPropertyBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public final class ReadOnlyJavaBeanIntegerPropertyBuilder {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanIntegerPropertyBuilder() {}
private ReadOnlyJavaBeanIntegerPropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanIntegerPropertyBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public final class ReadOnlyJavaBeanLongPropertyBuilder {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanLongPropertyBuilder() {}
private ReadOnlyJavaBeanLongPropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanLongPropertyBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ public final class ReadOnlyJavaBeanObjectPropertyBuilder<T> {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanObjectPropertyBuilder() {}
private ReadOnlyJavaBeanObjectPropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanObjectPropertyBuilder}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,7 @@ public final class ReadOnlyJavaBeanStringPropertyBuilder {

private final ReadOnlyJavaBeanPropertyBuilderHelper helper = new ReadOnlyJavaBeanPropertyBuilderHelper();

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #create()} instead.
*/
@Deprecated(since="14", forRemoval=true)
public ReadOnlyJavaBeanStringPropertyBuilder() {}
private ReadOnlyJavaBeanStringPropertyBuilder() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanStringPropertyBuilder}
Expand Down

0 comments on commit e3026b9

Please sign in to comment.