Setting default values for fields validFrom and validTo

revert-70aa11f8
prabathabey 9 years ago
parent 536e13b0a7
commit 84bc22f9f3

@ -35,6 +35,11 @@ public class License {
private Date validTo;
private String text;
public License() {
this.validFrom = new Date();
this.validFrom = new Date();
}
@XmlElement(name = "Provider", required = true)
public String getProvider() {
return provider;

Loading…
Cancel
Save