Commonclipse says method already exists even if not.
Brought to you by:
fgiust
Hi,
I found another bug in Eclipse 3.1M6.
Commonclipse says method (e.g. equals()) already
exists even if it doesn't exist.
Here is my code:
package com.cainenable.replication.protocol.message;
public class NoopMessage extends BaseMessage
{
public NoopMessage( int sequence )
{
super( sequence );
}
public int getType()
{
return Constants.NOOP;
}
}
Please note that there is no empty line between the
closing brace of the last method (getType) and closing
brace of this class. Additionally, I implemented
BaseMessage.equals() using commonclipse. It works
correctly if there is one or more empty lines between the
closing brace of the last method and closing brace of
the class.
I hope my description helps.
Thanks,
Trustin