Red on good code (in a clas with @XmlType)?
Hi,
I'm using jdk1.6_05 beta version with Idea 7 #7531. I have only 1 class in the project
package cardfile;
import javax.xml.bind.annotation.XmlType;
/**
Created by IntelliJ IDEA.
User: be Ly
Date: Nov 6, 2007
Time: 7:24:53 AM
*/
@XmlType
public class Address {
private String city;
private String name;
private String state;
private String street;
private short zip;
public Address() {
}
public Address(String name,
String street,
String city,
String state,
short zip) {
this.name = name;
this.street = street;
this.city = city;
this.state = state;
this.zip = zip;
}
// getters & setters
}
Reds are at the 2 constructors. They say: Check Java class used as web server or for reading / writing xml data (e.g. web server parameter class) to be instantiatable. The validation works in Java files.
Is this an Idea bug or am I wrong somewhere?
Please sign in to leave a comment.
This is IDEA bug.
Thai Dang Vu wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"