Add JSR-305 annotations to public APIs

(Partially) Resolves BATCH-2688
This commit is contained in:
Mahmoud Ben Hassine
2018-07-17 10:50:23 +02:00
committed by Michael Minella
parent 295def2b89
commit 70d0e3c510
10 changed files with 75 additions and 15 deletions

View File

@@ -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;