litesoft
Diff Revisions
49
vs
849
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/StringKeyValuePair.java
|
@@ -1,17 +1,18 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.core.simpletypes; |
3 |
3 |
|
|
|
4 |
+ |
@SuppressWarnings("deprecation") |
4 |
5 |
|
public class StringKeyValuePair<T extends StringKeyValuePair> extends SimpleKeyValuePair<T> |
5 |
6 |
|
{ |
|
7 |
+ |
private static final long serialVersionUID = 1L; |
|
8 |
+ |
|
6 |
9 |
|
public static final StringKeyValuePair[] EMPTY_ARRAY = new StringKeyValuePair[0]; |
7 |
|
- |
public static StringKeyValuePair NULL = new StringKeyValuePair( null, null ); |
|
10 |
+ |
public static final StringKeyValuePair NULL = new StringKeyValuePair( null, null ); |
8 |
11 |
|
|
9 |
|
- |
private String mKey; |
10 |
|
- |
private String mValue; |
|
12 |
+ |
private /* final */ String mKey; |
|
13 |
+ |
private /* final */ String mValue; |
11 |
14 |
|
|
12 |
|
- |
/** |
13 |
|
- |
* @deprecated - for Serialization |
14 |
|
- |
*/ |
|
15 |
+ |
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
15 |
16 |
|
protected StringKeyValuePair() |
16 |
17 |
|
{ |
17 |
18 |
|
} |