From 07c1f58004fe03264577507ba6c3da13647154b5 Mon Sep 17 00:00:00 2001 From: mcilwain Date: Thu, 13 Apr 2017 13:01:13 -0700 Subject: [PATCH] Fix two warnings thrown by Eclipse One is an unnecessary import and the other is an incorrectly named Javadoc parameter. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=153095269 --- java/google/registry/util/ComparingInvocationHandler.java | 2 +- java/google/registry/whois/WhoisMetrics.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/java/google/registry/util/ComparingInvocationHandler.java b/java/google/registry/util/ComparingInvocationHandler.java index ff42efca7..b45411279 100644 --- a/java/google/registry/util/ComparingInvocationHandler.java +++ b/java/google/registry/util/ComparingInvocationHandler.java @@ -131,7 +131,7 @@ public abstract class ComparingInvocationHandler implements InvocationHandler * stack trace for example), override this method with the desired implementation. * * @param method the method whose return value is given - * @param exception the exception thrown by a call to method + * @param throwable the exception thrown by a call to method */ protected String stringifyThrown( @SuppressWarnings("unused") Method method, diff --git a/java/google/registry/whois/WhoisMetrics.java b/java/google/registry/whois/WhoisMetrics.java index 32e87e511..1142277bb 100644 --- a/java/google/registry/whois/WhoisMetrics.java +++ b/java/google/registry/whois/WhoisMetrics.java @@ -25,7 +25,6 @@ import google.registry.monitoring.metrics.IncrementableMetric; import google.registry.monitoring.metrics.LabelDescriptor; import google.registry.monitoring.metrics.MetricRegistryImpl; import google.registry.util.Clock; -import google.registry.whois.WhoisMetrics.WhoisMetric; import javax.inject.Inject; import org.joda.time.DateTime;