mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Clean up misc Javadoc and deprecation warnings
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136156922
This commit is contained in:
@@ -49,6 +49,7 @@ final class MetricMetrics {
|
||||
LABELS);
|
||||
|
||||
/** A gauge representing a snapshot of the number of active timeseries being reported. */
|
||||
@SuppressWarnings("unused")
|
||||
private static final Metric<Long> timeseriesCount =
|
||||
MetricRegistryImpl.getDefault()
|
||||
.newGauge(
|
||||
|
||||
@@ -135,8 +135,7 @@ public class RdeImportUtils {
|
||||
// TODO (wolfgang): Add validation method for IDN tables
|
||||
try (InputStream input =
|
||||
gcsUtils.openInputStream(new GcsFilename(escrowBucketName, escrowFilePath))) {
|
||||
try {
|
||||
RdeParser parser = new RdeParser(input);
|
||||
try (RdeParser parser = new RdeParser(input)) {
|
||||
// validate that tld exists and is in PREDELEGATION state
|
||||
String tld = parser.getHeader().getTld();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user