Skip to content

Commit e66c811

Browse files
committed
Feat: spotlessApply fix
1 parent fb48cff commit e66c811

File tree

1 file changed

+10
-5
lines changed
  • lesson_15/tdd/tdd_app/src/main/java/com/codedifferently/lesson15

1 file changed

+10
-5
lines changed

lesson_15/tdd/tdd_app/src/main/java/com/codedifferently/lesson15/Employee.java

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,18 @@ public boolean isEqualTo(int otherId) {
5151
}
5252

5353
public String getDetails() {
54-
return "id: " + this.getId() + " name: " + this.getName() + " department: " + this.getDepartment() + " salary: " + this.getSalary();
55-
56-
54+
return "id: "
55+
+ this.getId()
56+
+ " name: "
57+
+ this.getName()
58+
+ " department: "
59+
+ this.getDepartment()
60+
+ " salary: "
61+
+ this.getSalary();
5762
}
5863

59-
public void put(Employee employee) {
64+
public void put(Employee employee) {
6065
// TODO Auto-generated method stub
6166
throw new UnsupportedOperationException("Unimplemented method 'put'");
62-
}
67+
}
6368
}

0 commit comments

Comments
 (0)