Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
  • Loading branch information
VijayanB committed May 11, 2022
1 parent 91e31c3 commit 7bcab8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public enum FIELDS {

@Override
public String toString() {
return this.name().toLowerCase(Locale.getDefault());
return name().toLowerCase(Locale.getDefault());
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
/*
* Copyright OpenSearch Contributors
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*/

package org.opensearch.geospatial.stats.upload;
Expand All @@ -26,9 +20,7 @@
import org.opensearch.test.OpenSearchTestCase;

public class TotalUploadStatsTests extends OpenSearchTestCase {
private static final int MAX_METRIC_COUNT = 10;
private static final int MAX_STATS_COUNT = 5;
private static final int MIN_METRIC_COUNT = 2;
private static final int MIN_STATS_COUNT = 2;

private static final long INIT = 0L;
Expand Down

0 comments on commit 7bcab8d

Please sign in to comment.