Skip to content

Commit 170d9d5

Browse files
author
lucasward
committed
BATCH-671: Added a new class, JobParameter, that represents an individual parameter. Also converted BatchStatus and ParameterType typesafe enumerations to java 5 enums.
1 parent a641c28 commit 170d9d5

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import java.io.Serializable;
2020
import java.util.HashMap;
2121
import java.util.Map;
22-
import java.util.Properties;
2322
import java.util.Set;
2423
import java.util.Map.Entry;
2524

@@ -300,24 +299,6 @@ public boolean containsValue(Object value) {
300299
return map.containsValue(value);
301300
}
302301

303-
/**
304-
* Returns a <code>Properties</code> object containing <code>String</code>
305-
* versions of the contents of the context.
306-
*
307-
* @return Contents of context as a {@link java.util.Properties}
308-
*
309-
* @deprecated to be removed with no replacement in 2.0. Should not be part
310-
* of public API (test purposes only)
311-
*/
312-
public Properties getProperties() {
313-
Properties props = new Properties();
314-
for (Entry<String, Object> entry : map.entrySet()) {
315-
props.setProperty(entry.getKey(), entry.getValue().toString());
316-
}
317-
318-
return props;
319-
}
320-
321302
/*
322303
* (non-Javadoc)
323304
*

0 commit comments

Comments
 (0)