I have a method in Eclipse as below.
public String toString() {
return "HouseVo [ "
+ "Name : " + this.name == null ? "" : this.name
+ "Address : " + this.address == null ? "" : this.address;
}
When I format it becomes:
return "HouseVo [ " + "Name : " + this.name == null ? ""
: this.name + "Address : " + this.address == null ? ""
: this.address;
Any way to fix it so it correctly formats?