Updated indentation
This commit is contained in:
parent
ee9f0336b5
commit
2010fd9a87
|
@ -3,17 +3,21 @@ package com.baeldung.spring.jms;
|
||||||
public class Employee {
|
public class Employee {
|
||||||
private String name;
|
private String name;
|
||||||
private Integer age;
|
private Integer age;
|
||||||
|
|
||||||
public Employee(String name, Integer age) {
|
public Employee(String name, Integer age) {
|
||||||
this.name = name;
|
this.name = name;
|
||||||
this.age = age;
|
this.age = age;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Integer getAge() {
|
public Integer getAge() {
|
||||||
return age;
|
return age;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Person: name(" + name + "), age(" + age + ")";
|
return "Person: name(" + name + "), age(" + age + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue