Skip to content

Commit 5e6778f

Browse files
committed
Formatting
1 parent b9ddf89 commit 5e6778f

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

  • spring-mvc-xml/src/main/java/com/baeldung/spring/form

‎spring-mvc-xml/src/main/java/com/baeldung/spring/form/Employee.java‎

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,43 @@
77
@XmlRootElement
88
public class Employee {
99

10-
private long id;
10+
private long id;
1111

12-
@NotNull
13-
@Size(min = 1)
14-
private String name;
15-
@NotNull
16-
@Size(min = 1)
17-
private String contactNumber;
12+
@NotNull
13+
@Size(min = 1)
14+
private String name;
15+
@NotNull
16+
@Size(min = 1)
17+
private String contactNumber;
1818

19-
public Employee() {
20-
super();
21-
}
19+
public Employee() {
20+
super();
21+
}
2222

23-
//
23+
//
2424

25-
public String getName() {
26-
return name;
27-
}
25+
public String getName() {
26+
return name;
27+
}
2828

29-
public void setName(final String name) {
30-
this.name = name;
31-
}
29+
public void setName(final String name) {
30+
this.name = name;
31+
}
3232

33-
public long getId() {
34-
return id;
35-
}
33+
public long getId() {
34+
return id;
35+
}
3636

37-
public void setId(final long id) {
38-
this.id = id;
39-
}
37+
public void setId(final long id) {
38+
this.id = id;
39+
}
4040

41-
public String getContactNumber() {
42-
return contactNumber;
43-
}
41+
public String getContactNumber() {
42+
return contactNumber;
43+
}
4444

45-
public void setContactNumber(final String contactNumber) {
46-
this.contactNumber = contactNumber;
47-
}
45+
public void setContactNumber(final String contactNumber) {
46+
this.contactNumber = contactNumber;
47+
}
4848

4949
}

0 commit comments

Comments
 (0)