From 68711c510bbb2890791b9a324ac775f588df71cf Mon Sep 17 00:00:00 2001 From: wellsbobby52 Date: Wed, 18 Sep 2024 11:33:45 -0400 Subject: [PATCH] tidy --- .../java/gov/cdc/usds/simplereport/db/model/Facility.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/gov/cdc/usds/simplereport/db/model/Facility.java b/backend/src/main/java/gov/cdc/usds/simplereport/db/model/Facility.java index ec707cc997..0a105d234d 100644 --- a/backend/src/main/java/gov/cdc/usds/simplereport/db/model/Facility.java +++ b/backend/src/main/java/gov/cdc/usds/simplereport/db/model/Facility.java @@ -130,7 +130,7 @@ public void removeDefaultOrderingProvider() { this.setDefaultOrderingProvider(null); } - public void addDeviceType(Provider provider) { + public void addOrderingProvider(Provider provider) { configuredOrderingProviders.add(provider); } @@ -140,10 +140,10 @@ public List 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()