fixed compile errors

This commit is contained in:
Keith Donald
2008-03-20 22:17:11 +00:00
parent 7ca2180ad6
commit 5fc1685d06
2 changed files with 4 additions and 4 deletions

View File

@@ -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");
}

View File

@@ -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;
}