commit | 0516c9d85d8049b89c61e0000345d060160cf018 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Wed Mar 20 11:29:51 2019 +0000 |
committer | Marco Miller <marco.miller@ericsson.com> | Wed Mar 20 09:20:02 2019 -0400 |
tree | 270b61ce506f2e03d933c08db413cdf699ef7374 | |
parent | 3599a5eb8ee96395052b5dc8730eee3e6bb09c37 [diff] |
Extend ServletModule instead of HttpPluginModule As described in I3b89150d1. Change-Id: Ic91ce95719c6bccc73cc29a2139a2274f20d1939
diff --git a/src/main/java/com/googlesource/gerrit/plugins/importer/HttpModule.java b/src/main/java/com/googlesource/gerrit/plugins/importer/HttpModule.java index 79fe837..c4f7c15 100644 --- a/src/main/java/com/googlesource/gerrit/plugins/importer/HttpModule.java +++ b/src/main/java/com/googlesource/gerrit/plugins/importer/HttpModule.java
@@ -18,9 +18,9 @@ import com.google.gerrit.extensions.webui.GwtPlugin; import com.google.gerrit.extensions.webui.JavaScriptPlugin; import com.google.gerrit.extensions.webui.WebUiPlugin; -import com.google.gerrit.httpd.plugins.HttpPluginModule; +import com.google.inject.servlet.ServletModule; -public class HttpModule extends HttpPluginModule { +public class HttpModule extends ServletModule { @Override protected void configureServlets() { DynamicSet.bind(binder(), WebUiPlugin.class)