diff --git a/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java b/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java index 2f330b09..82459b2c 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/config/FlowDefinitionRegistryBuilder.java @@ -18,6 +18,7 @@ package org.springframework.webflow.config; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; +import java.util.HashMap; import java.util.List; import java.util.Map; @@ -314,7 +315,7 @@ public class FlowDefinitionRegistryBuilder { this.id = id; this.attributes = (attributes != null) ? new LocalAttributeMap(attributes) : - new LocalAttributeMap(Collections.emptyMap()); + new LocalAttributeMap(new HashMap()); } public String getPath() { @@ -343,7 +344,7 @@ public class FlowDefinitionRegistryBuilder { this.id = id; this.attributes = (attributes != null) ? new LocalAttributeMap(attributes) : - new LocalAttributeMap(Collections.emptyMap()); + new LocalAttributeMap(new HashMap()); } public FlowBuilder getBuilder() {