Menu

#5 Commonclipse says method already exists even if not.

commonclipse_1.1.0
open
5
2012-10-08
2005-05-13
No

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB