1
0
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:
ctingue
2016-10-14 07:56:22 -07:00
committed by Ben McIlwain
parent 064026a4a5
commit 67da55536f
4 changed files with 8 additions and 8 deletions

View File

@@ -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(

View File

@@ -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 {