Hi,

I fetched and rebased on top of master yesterday and noticed in Eclipse
that I now have 61 error messages.

Many of them are related to @Override, but I am not sure why Eclipse is
complaining.

For example:

package common;

import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;

import streamer.BaseElement;
import streamer.ByteBuffer;

public class AwtMouseEventSource extends BaseElement implements
MouseListener, MouseMotionListener {

  public AwtMouseEventSource(String id) {
    super(id);
  }

  @Override
  public void mouseClicked(MouseEvent e) {
    // Nothing to do
  }

Eclipse says mouseClicked(MouseEvent) must override
MouseClicked(MouseEvent) for us to be able to use the @Override annotation.

That makes sense, of course.

The problem is that we do override that method properly: It comes from the
MouseListener interface.

Any thoughts on why Eclipse does not recognize this? It seems to only be
looking in the class we extend and the class that that class extends.

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkow...@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Reply via email to