Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 596826709
  • Loading branch information
java-team-github-bot authored and Guice Team committed Jan 9, 2024
1 parent e23d3b4 commit f4cbbdf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions core/src/com/google/inject/AbstractModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit f4cbbdf

Please sign in to comment.