@@ -45,36 +45,47 @@ public class Data {
45
45
// NOTE: create new instances to avoid cache, e.g. new String()
46
46
47
47
/** The single instance of the magic null object for a {@link Boolean}. */
48
+ @ SuppressWarnings ("deprecation" )
48
49
public static final Boolean NULL_BOOLEAN = new Boolean (true );
49
50
50
51
/** The single instance of the magic null object for a {@link String}. */
52
+ @ SuppressWarnings ("deprecation" )
51
53
public static final String NULL_STRING = new String ();
52
54
53
55
/** The single instance of the magic null object for a {@link Character}. */
56
+ @ SuppressWarnings ("deprecation" )
54
57
public static final Character NULL_CHARACTER = new Character ((char ) 0 );
55
58
56
59
/** The single instance of the magic null object for a {@link Byte}. */
60
+ @ SuppressWarnings ("deprecation" )
57
61
public static final Byte NULL_BYTE = new Byte ((byte ) 0 );
58
62
59
63
/** The single instance of the magic null object for a {@link Short}. */
64
+ @ SuppressWarnings ("deprecation" )
60
65
public static final Short NULL_SHORT = new Short ((short ) 0 );
61
66
62
67
/** The single instance of the magic null object for a {@link Integer}. */
68
+ @ SuppressWarnings ("deprecation" )
63
69
public static final Integer NULL_INTEGER = new Integer (0 );
64
70
65
71
/** The single instance of the magic null object for a {@link Float}. */
72
+ @ SuppressWarnings ("deprecation" )
66
73
public static final Float NULL_FLOAT = new Float (0 );
67
74
68
75
/** The single instance of the magic null object for a {@link Long}. */
76
+ @ SuppressWarnings ("deprecation" )
69
77
public static final Long NULL_LONG = new Long (0 );
70
78
71
79
/** The single instance of the magic null object for a {@link Double}. */
80
+ @ SuppressWarnings ("deprecation" )
72
81
public static final Double NULL_DOUBLE = new Double (0 );
73
82
74
83
/** The single instance of the magic null object for a {@link BigInteger}. */
84
+ @ SuppressWarnings ("deprecation" )
75
85
public static final BigInteger NULL_BIG_INTEGER = new BigInteger ("0" );
76
86
77
87
/** The single instance of the magic null object for a {@link BigDecimal}. */
88
+ @ SuppressWarnings ("deprecation" )
78
89
public static final BigDecimal NULL_BIG_DECIMAL = new BigDecimal ("0" );
79
90
80
91
/** The single instance of the magic null object for a {@link DateTime}. */
0 commit comments