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
This commit is contained in:
mcilwain 2017-04-13 13:01:13 -07:00 committed by Ben McIlwain
parent 1751ea0b98
commit 07c1f58004
2 changed files with 1 additions and 2 deletions

View file

@ -131,7 +131,7 @@ public abstract class ComparingInvocationHandler<T> implements InvocationHandler
* stack trace for example), override this method with the desired implementation. * stack trace for example), override this method with the desired implementation.
* *
* @param method the method whose return value is given * @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( protected String stringifyThrown(
@SuppressWarnings("unused") Method method, @SuppressWarnings("unused") Method method,

View file

@ -25,7 +25,6 @@ import google.registry.monitoring.metrics.IncrementableMetric;
import google.registry.monitoring.metrics.LabelDescriptor; import google.registry.monitoring.metrics.LabelDescriptor;
import google.registry.monitoring.metrics.MetricRegistryImpl; import google.registry.monitoring.metrics.MetricRegistryImpl;
import google.registry.util.Clock; import google.registry.util.Clock;
import google.registry.whois.WhoisMetrics.WhoisMetric;
import javax.inject.Inject; import javax.inject.Inject;
import org.joda.time.DateTime; import org.joda.time.DateTime;