Convert serialVersionUID to local variable?
In the following class serialVersionUID triggers the inspection "Field
can be converted or one or more local variables." It doesn't seem that
serialVersionUID should ever trigger this inspection. Am I missing
something, or is this a bug?
public class Woof implements Serializable {
private static final long serialVersionUID = 1L;
private int id;
public Woof(int id) {this.id = id;}
public int getID() {return id;}
}
请先登录再写评论。
I neglected to mention that this is build 3430.
Bug:
http://www.jetbrains.net/jira/browse/IDEADEV-2141
Michael Besosa wrote:
Fixed.
"Michael Besosa" <michael.besosa@pearson.com> wrote in message
news:dcd4oo$9mp$1@is.intellij.net...
>
>