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;