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