Remove now-unused "logger" from ReplaySpecializer (#1007)

* Remove now-unused "logger" from ReplaySpecializer

This causes a build warning.

* Take out the import, too
This commit is contained in:
Michael Muller 2021-03-12 13:26:45 -05:00 committed by GitHub
parent 684517e35a
commit c8385617bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,6 @@
package google.registry.schema.replay;
import com.google.common.flogger.FluentLogger;
import google.registry.persistence.VKey;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
@ -27,8 +26,6 @@ import java.lang.reflect.Method;
* to invoke special class methods if they are present.
*/
public class ReplaySpecializer {
private static final FluentLogger logger = FluentLogger.forEnclosingClass();
public static void beforeSqlDelete(VKey<?> key) {
try {
Method method = key.getKind().getMethod("beforeSqlDelete", VKey.class);