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 {