Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbywells52 committed Sep 18, 2024
1 parent 6e8e68a commit 68711c5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public void removeDefaultOrderingProvider() {
this.setDefaultOrderingProvider(null);
}

public void addDeviceType(Provider provider) {
public void addOrderingProvider(Provider provider) {
configuredOrderingProviders.add(provider);
}

Expand All @@ -140,10 +140,10 @@ public List<Provider> getOrderingProviders() {
.collect(Collectors.toList());
}

public void removeProvider(Provider deletedProvider) {
public void removeOrderingProvider(Provider deletedProvider) {
this.configuredOrderingProviders.remove(deletedProvider);

// If the corresponding device to a facility's default device swab type is removed,
// If the corresponding provider to a facility's default provider is removed,
// set default to null
if (this.getDefaultOrderingProvider() != null
&& this.getDefaultOrderingProvider()
Expand Down

0 comments on commit 68711c5

Please sign in to comment.