Skip to content

Commit f281ac0

Browse files
author
AmiyahJo
committed
rm: removes method 'details'
1 parent f96daa2 commit f281ac0

File tree

1 file changed

+0
-4
lines changed
  • lesson_15/tdd/tdd_app/src/main/java/com/codedifferently/lesson15

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ public void setSalary(double salary) {
4646
this.salary = salary;
4747
}
4848

49-
public void details(){
50-
System.out.println(getDetails());
51-
}
52-
5349
public String getDetails(){
5450
return "The employee, " +name+ " in " +department+ " with the ID of " +id+ " has a salary of " +salary+ " .";
5551
}

0 commit comments

Comments
 (0)