Skip to content
Permalink
Browse files

8229472: Deprecate for removal JavaBeanXxxPropertyBuilders constructors

Reviewed-by: kcr, arapte
  • Loading branch information
Nir Lisker
Nir Lisker committed Nov 20, 2019
1 parent aad1720 commit 8bea7b71454ada53881847c751add63e8fc99ea3
Showing with 63 additions and 14 deletions.
  1. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanBooleanPropertyBuilder.java
  2. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanDoublePropertyBuilder.java
  3. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanFloatPropertyBuilder.java
  4. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanIntegerPropertyBuilder.java
  5. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanLongPropertyBuilder.java
  6. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanObjectPropertyBuilder.java
  7. +2 −1 modules/javafx.base/src/main/java/javafx/beans/property/adapter/JavaBeanStringPropertyBuilder.java
  8. +7 −1 ...vafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanBooleanPropertyBuilder.java
  9. +7 −1 ...avafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanDoublePropertyBuilder.java
  10. +7 −1 ...javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanFloatPropertyBuilder.java
  11. +7 −1 ...vafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanIntegerPropertyBuilder.java
  12. +7 −1 .../javafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanLongPropertyBuilder.java
  13. +7 −1 ...avafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanObjectPropertyBuilder.java
  14. +7 −1 ...avafx.base/src/main/java/javafx/beans/property/adapter/ReadOnlyJavaBeanStringPropertyBuilder.java
@@ -62,8 +62,9 @@
private final JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -62,8 +62,9 @@
private final JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -62,8 +62,9 @@
private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -62,8 +62,9 @@
private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -62,8 +62,9 @@
private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -64,8 +64,9 @@
private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -62,8 +62,9 @@
private JavaBeanPropertyBuilderHelper helper = new JavaBeanPropertyBuilderHelper();

/**
* <b>Do not use this constructor.</b> It will be deprecated in the next version. Use {@link #create()} instead.
* @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() {}

/**
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@

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() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanBooleanPropertyBuilder}
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@

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() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanDoublePropertyBuilder}
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@

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() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanFloatPropertyBuilder}
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@

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() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanIntegerPropertyBuilder}
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@

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() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanLongPropertyBuilder}
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -62,6 +62,12 @@

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() {}

/**
* Create a new instance of {@code ReadOnlyJavaBeanObjectPropertyBuilder}
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2011, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,12 @@

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() {}

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

0 comments on commit 8bea7b7

Please sign in to comment.
You can’t perform that action at this time.