From f4cbbdf8bee858f2958a9e90079ffaf188e7b016 Mon Sep 17 00:00:00 2001 From: Guice Team Date: Mon, 8 Jan 2024 23:37:27 -0800 Subject: [PATCH] Automated Code Change PiperOrigin-RevId: 596826709 --- core/src/com/google/inject/AbstractModule.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/src/com/google/inject/AbstractModule.java b/core/src/com/google/inject/AbstractModule.java index befac87752..41649598a5 100644 --- a/core/src/com/google/inject/AbstractModule.java +++ b/core/src/com/google/inject/AbstractModule.java @@ -60,11 +60,8 @@ public final synchronized void configure(Binder builder) { checkState(this.binder == null, "Re-entry is not allowed."); this.binder = checkNotNull(builder, "builder"); - try { - configure(); - } finally { - this.binder = null; - } + configure(); + this.binder = null; } /** Configures a {@link Binder} via the exposed methods. */