I don't see why Java should complain about this, since you added an instance
method that happens to have the same signature as a static method ... but
you'll probably need to change the method name to something else to avoid
this problem.

eclipse does that too

And, you might want to remember to do a "mvn clean install" before
committing :-).

I now did. :)
sorry for the inconvenience

Matthias

Craig

On 7/13/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > I'm not able to compile shale-test:
> >
> > Compiling 36 source files to c:\svn\shale\shale-test\target\classes
> > [INFO]
> ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> >
> 
c:\svn\shale\shale-test\src\main\java\org\apache\shale\test\mock\MockFacesContex
> > t.java:[100,16] setCurrentInstance(javax.faces.context.FacesContext) in
> org.apac
> > he.shale.test.mock.MockFacesContext cannot override setCurrentInstance(
> javax.fac
> > es.context.FacesContext) in javax.faces.context.FacesContext; overridden
> method
> > is static
> >
> > --
> > Wendy
> >
>
>
> --
> Matthias Wessendorf
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>




--
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to