diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java index cc9ebc67b..ad2e1684c 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java @@ -19,7 +19,6 @@ package org.springframework.batch.item; import java.io.Serializable; import java.util.HashMap; import java.util.Map; -import java.util.Properties; import java.util.Set; import java.util.Map.Entry; @@ -300,24 +299,6 @@ public class ExecutionContext implements Serializable { return map.containsValue(value); } - /** - * Returns a Properties object containing String - * versions of the contents of the context. - * - * @return Contents of context as a {@link java.util.Properties} - * - * @deprecated to be removed with no replacement in 2.0. Should not be part - * of public API (test purposes only) - */ - public Properties getProperties() { - Properties props = new Properties(); - for (Entry entry : map.entrySet()) { - props.setProperty(entry.getKey(), entry.getValue().toString()); - } - - return props; - } - /* * (non-Javadoc) *