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.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit a645b5a

Please sign in to comment.