diff --git a/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewFactoryTests.java b/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewFactoryTests.java index bbe84a1f..643f9e48 100644 --- a/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewFactoryTests.java +++ b/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewFactoryTests.java @@ -26,6 +26,7 @@ import org.springframework.mock.web.MockServletContext; import org.springframework.webflow.core.collection.AttributeMap; import org.springframework.webflow.core.collection.LocalAttributeMap; import org.springframework.webflow.core.collection.LocalParameterMap; +import org.springframework.webflow.core.collection.MutableAttributeMap; import org.springframework.webflow.definition.FlowDefinition; import org.springframework.webflow.definition.StateDefinition; import org.springframework.webflow.execution.RequestContext; @@ -235,7 +236,7 @@ public class JsfViewFactoryTests extends TestCase { throw new UnsupportedOperationException("Auto-generated method stub"); } - public AttributeMap getAttributes() { + public MutableAttributeMap getAttributes() { throw new UnsupportedOperationException("Auto-generated method stub"); } diff --git a/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewTests.java b/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewTests.java index 93d5d437..61deb7a2 100644 --- a/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewTests.java +++ b/spring-faces/src/test/java/org/springframework/faces/webflow/JsfViewTests.java @@ -18,7 +18,6 @@ import org.apache.shale.test.mock.MockResponseWriter; import org.apache.shale.test.mock.MockStateManager; import org.easymock.EasyMock; import org.springframework.faces.ui.AjaxViewRoot; -import org.springframework.webflow.core.collection.AttributeMap; import org.springframework.webflow.core.collection.LocalAttributeMap; import org.springframework.webflow.core.collection.MutableAttributeMap; import org.springframework.webflow.definition.FlowDefinition; @@ -264,7 +263,7 @@ public class JsfViewTests extends TestCase { private class ModalViewState implements StateDefinition { - AttributeMap attrs = new LocalAttributeMap(); + MutableAttributeMap attrs = new LocalAttributeMap(); public ModalViewState() { attrs.asMap().put("modal", Boolean.TRUE); @@ -278,7 +277,7 @@ public class JsfViewTests extends TestCase { throw new UnsupportedOperationException("Auto-generated method stub"); } - public AttributeMap getAttributes() { + public MutableAttributeMap getAttributes() { return attrs; }