Skip to content

Commit

Permalink
8252783: Remove the css Selector and ShapeConverter constructors
Browse files Browse the repository at this point in the history
Reviewed-by: kcr, pbansal
  • Loading branch information
aghaisas committed May 26, 2021
1 parent 329013b commit a645b5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Expand Up @@ -43,10 +43,9 @@
abstract public class Selector {

/**
* @deprecated This constructor was exposed erroneously and will be removed in the next version. Use {@link #createSelector(String)} instead.
* Package scoped constructor.
*/
@Deprecated(since="16", forRemoval=true)
public Selector() {
Selector() {
}

private static class UniversalSelector {
Expand Down
Expand Up @@ -43,11 +43,7 @@ public class ShapeConverter extends StyleConverter<String, Shape> {

public static StyleConverter<String, Shape> getInstance() { return INSTANCE; }

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

@Override public Shape convert(ParsedValue<String, Shape> value, Font font) {
Expand Down

1 comment on commit a645b5a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.