Add JSR-305 annotations to public APIs
(Partially) Resolves BATCH-2688
This commit is contained in:
committed by
Michael Minella
parent
295def2b89
commit
70d0e3c510
@@ -156,7 +156,6 @@ public class ExecutionContext implements Serializable {
|
||||
* @param key The key to get a value for
|
||||
* @return The <code>String</code> value
|
||||
*/
|
||||
@Nullable
|
||||
public String getString(String key) {
|
||||
|
||||
return (String) readAndValidate(key, String.class);
|
||||
@@ -171,7 +170,6 @@ public class ExecutionContext implements Serializable {
|
||||
* @return The <code>String</code> value if key is represented, specified
|
||||
* default otherwise
|
||||
*/
|
||||
@Nullable
|
||||
public String getString(String key, String defaultString) {
|
||||
if (!containsKey(key)) {
|
||||
return defaultString;
|
||||
|
||||
Reference in New Issue
Block a user