Deprecated public constructors instead of making it private.

This commit is contained in:
md-yasir
2025-10-24 09:10:53 +05:30
parent 2c6082a0a2
commit 6dd878d3c9
4 changed files with 6 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ Public Domain.
* @author JSON.org
* @version 2016-05-01
*/
@Deprecated
public class CDL {
/**

View File

@@ -13,6 +13,7 @@ Public Domain.
* @author JSON.org
* @version 2015-12-09
*/
@Deprecated
public class Cookie {
/**

View File

@@ -14,7 +14,8 @@ public class CookieList {
/**
* Constructs a new CookieList object.
*/
private CookieList() {
@Deprecated
public CookieList() {
}
/**

View File

@@ -17,7 +17,8 @@ public class JSONML {
/**
* Constructs a new JSONML object.
*/
private JSONML() {
@Deprecated
public JSONML() {
}