Skip to content

Commit 1f99c51

Browse files
author
Meiko-S22
committed
fix: removed set details from employee class
1 parent d6fdca9 commit 1f99c51

File tree

1 file changed

+1
-6
lines changed
  • lesson_15/tdd/tdd_app/src/main/java/com/codedifferently/lesson15

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,5 @@ public String getDetails() {
5757
+ salary;
5858
}
5959

60-
public void setDetails(int id, String name, String department, double salary) {
61-
this.id = id;
62-
this.name = name;
63-
this.department = department;
64-
this.salary = salary;
65-
}
60+
6661
}

0 commit comments

Comments
 (0)