Skip to content

Commit 50897ff

Browse files
committed
Remove deprecated code
1 parent ed4ecf6 commit 50897ff

File tree

2 files changed

+1
-18
lines changed

2 files changed

+1
-18
lines changed

Diff for: CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 2.3.0
22
* Update available datasets fields from ChartJS source code #244
3+
* Removed deprecated code
34

45
## 2.2.0
56
* Improve color handling #238

Diff for: chartjs-java-model/src/main/java/software/xdev/chartjs/model/charts/Chart.java

-18
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,6 @@ public interface Chart<SELF, O extends Options<?, ?>, D extends AbstractData<?,
3030
@JsonProperty("type")
3131
String getType();
3232

33-
/**
34-
* @deprecated As of 2.1.0 {@link #toJson()} has the same functionality and should be used instead
35-
*/
36-
@Deprecated(since = "2.1.0", forRemoval = true)
37-
default String toJsonNative()
38-
{
39-
return this.toJson();
40-
}
41-
4233
/**
4334
* <p>
4435
* Convert {@code this} instance to Json for use with Chart.js library.
@@ -48,15 +39,6 @@ default String toJsonNative()
4839
*/
4940
String toJson();
5041

51-
/**
52-
* @deprecated No functionality implemented as of 2.1.0
53-
*/
54-
@Deprecated(since = "2.1.0", forRemoval = true)
55-
default boolean isDrawable()
56-
{
57-
return true;
58-
}
59-
6042
SELF setOptions(final O options);
6143

6244
SELF setData(final D data);

0 commit comments

Comments
 (0)