Skip to content

Commit

Permalink
Fully qualify the Singleton so the stripped import doesn't cause issu…
Browse files Browse the repository at this point in the history
…es in the opensource build.
  • Loading branch information
sameb committed Sep 13, 2016
1 parent 55bb902 commit 9f0a899
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ protected Injector getInjector() {
@Override
protected void configureServlets() {
// Struts 2 setup
bind(StrutsPrepareAndExecuteFilter.class).in(Singleton.class);
bind(StrutsPrepareAndExecuteFilter.class)
.in(com.google.inject.Singleton.class);
filter("/*").through(StrutsPrepareAndExecuteFilter.class);
}
},
Expand Down

0 comments on commit 9f0a899

Please sign in to comment.