Fix ambiguous method call.

This commit is contained in:
jeb228 2010-10-27 20:06:00 +00:00
parent a7a083c7b3
commit 21bbd9e881

View file

@ -9,6 +9,8 @@ import static junit.framework.Assert.assertEquals;
import java.util.Arrays; import java.util.Arrays;
import java.util.Date; import java.util.Date;
import javax.servlet.http.HttpSession;
import org.apache.log4j.Level; import org.apache.log4j.Level;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
@ -75,7 +77,8 @@ public class RevisionInfoBeanTest extends AbstractTestClass {
public void getBeanNoSession() { public void getBeanNoSession() {
setLoggerLevel(RevisionInfoBean.class, Level.ERROR); setLoggerLevel(RevisionInfoBean.class, Level.ERROR);
assertEquals("noBean", DUMMY_BEAN, RevisionInfoBean.getBean(null)); assertEquals("noBean", DUMMY_BEAN,
RevisionInfoBean.getBean((HttpSession) null));
} }
@Test @Test