Skip to content

Commit 39e8ead

Browse files
committed
Added java doc for deprecated decoration
1 parent 6dd878d commit 39e8ead

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

src/main/java/org/json/CDL.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@
2323
* @author JSON.org
2424
* @version 2016-05-01
2525
*/
26-
@Deprecated
2726
public class CDL {
2827

2928
/**
3029
* Constructs a new CDL object.
30+
* @deprecated (Utility class cannot be instantiated)
3131
*/
32+
@Deprecated
3233
public CDL() {
3334
}
3435

src/main/java/org/json/Cookie.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
* @author JSON.org
1414
* @version 2015-12-09
1515
*/
16-
@Deprecated
1716
public class Cookie {
1817

1918
/**
2019
* Constructs a new Cookie object.
20+
* @deprecated (Utility class cannot be instantiated)
2121
*/
22+
@Deprecated()
2223
private Cookie() {
2324
}
2425

src/main/java/org/json/CookieList.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class CookieList {
1313

1414
/**
1515
* Constructs a new CookieList object.
16+
* @deprecated (Utility class cannot be instantiated)
1617
*/
1718
@Deprecated
1819
public CookieList() {

src/main/java/org/json/JSONML.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public class JSONML {
1616

1717
/**
1818
* Constructs a new JSONML object.
19+
* @deprecated (Utility class cannot be instantiated)
1920
*/
2021
@Deprecated
2122
public JSONML() {

0 commit comments

Comments
 (0)