Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmpt-370-group-project-group26
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eyan Cunningham (esc568)
cmpt-370-group-project-group26
Commits
e29bee84
Commit
e29bee84
authored
2 years ago
by
Rafi Zereselasie (raz070)
Browse files
Options
Downloads
Patches
Plain Diff
Removed unnecessary functions.
parent
7bfd0204
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SchedulerApp/src/main/java/com/example/schedulerapp/Model.java
+0
-12
0 additions, 12 deletions
...ulerApp/src/main/java/com/example/schedulerapp/Model.java
with
0 additions
and
12 deletions
SchedulerApp/src/main/java/com/example/schedulerapp/Model.java
+
0
−
12
View file @
e29bee84
...
...
@@ -111,16 +111,6 @@ public class Model {
notifySubscribers
();
}
// Have this just in case we need it.
void
updateAllShifts
(){
writer
.
println
(
"allShifts"
);
}
// Have this just in case we need it.
void
updateAllEmployees
(){
writer
.
println
(
"allEmployees"
);
}
/*
Name: addEmployee
Parameters:
...
...
@@ -136,7 +126,6 @@ public class Model {
else
{
writer
.
println
(
"addEmployee/"
+
firstName
+
"/"
+
lastName
+
"/"
+
false
+
"/"
+
"empty"
+
"/"
+
"empty"
+
"/"
+
0.0f
);
updateAllEmployees
();
return
"Employee added"
;
}
}
...
...
@@ -184,7 +173,6 @@ public class Model {
}
if
(
this
.
employees
.
containsKey
(
Integer
.
parseInt
(
employeeID
)))
{
writer
.
println
(
"removeEmployee/"
+
employeeID
);
updateAllEmployees
();
return
"Employee removed"
;
}
return
"Employee does not exist"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment