Updated indentation

This commit is contained in:
Kiran 2016-10-05 00:14:59 -04:00 committed by GitHub
parent ee9f0336b5
commit 2010fd9a87
1 changed files with 9 additions and 5 deletions

View File

@ -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 + ")";
}
}