From ed4c804cef7dab95cc42c34bb9e891d13af2a189 Mon Sep 17 00:00:00 2001 From: zack-rma Date: Mon, 7 Oct 2024 17:28:39 -0700 Subject: [PATCH] Issue 886 - Fixed formatting, removed unnecessary local variable --- .../main/java/cwms/cda/api/TimeSeriesGroupController.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cwms-data-api/src/main/java/cwms/cda/api/TimeSeriesGroupController.java b/cwms-data-api/src/main/java/cwms/cda/api/TimeSeriesGroupController.java index eb0059471..495183dbf 100644 --- a/cwms-data-api/src/main/java/cwms/cda/api/TimeSeriesGroupController.java +++ b/cwms-data-api/src/main/java/cwms/cda/api/TimeSeriesGroupController.java @@ -239,9 +239,9 @@ public void create(@NotNull Context ctx) { @OpenApiParam(name = REPLACE_ASSIGNED_TS, type = Boolean.class, description = "Specifies whether to " + "unassign all existing time series before assigning new time series specified in the content body " + "Default: false"), - @OpenApiParam(name = OFFICE, required = true, description = "Specifies the " - + "office of the user making the request. This is the office that the timeseries, group, and category " - + "belong to. If the group and/or category belong to the CWMS office, this only identifies the timeseries."), + @OpenApiParam(name = OFFICE, required = true, description = "Specifies the " + + "office of the user making the request. This is the office that the timeseries, group, and category " + + "belong to. If the group and/or category belong to the CWMS office, this only identifies the timeseries."), }, method = HttpMethod.PATCH, tags = {TAG} @@ -250,7 +250,6 @@ public void create(@NotNull Context ctx) { public void update(@NotNull Context ctx, @NotNull String oldGroupId) { try (Timer.Context ignored = markAndTime(CREATE)) { DSLContext dsl = getDslContext(ctx); - final String CWMS_OFFICE = "CWMS"; String formatHeader = ctx.req.getContentType(); String body = ctx.body(); String office = requiredParam(ctx, OFFICE);