From 170d9d506fdfb3ca7f2efc2685cd999170fdfe69 Mon Sep 17 00:00:00 2001 From: lucasward Date: Sat, 26 Jul 2008 01:39:14 +0000 Subject: [PATCH] BATCH-671: Added a new class, JobParameter, that represents an individual parameter. Also converted BatchStatus and ParameterType typesafe enumerations to java 5 enums. --- .../batch/item/ExecutionContext.java | 19 ------------------- 1 file changed, 19 deletions(-) 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) *