diff --git a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/WizardBean.java b/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/WizardBean.java deleted file mode 100644 index 779df4417..000000000 --- a/apps/i2ptunnel/java/src/net/i2p/i2ptunnel/web/WizardBean.java +++ /dev/null @@ -1,25 +0,0 @@ -package net.i2p.i2ptunnel.web; - -/** - * A temporary data holder for the wizard pages - * - * Warning - This class is not part of the i2ptunnel API, and at some point - * it will be moved from the jar to the war. - * Usage by classes outside of i2ptunnel.war is deprecated. - */ -public class WizardBean extends EditBean { - private boolean _isClient; - public WizardBean() { super(); } - - /** - * Whether the tunnel being set up is a client tunnel or not. - * @since 0.8.13 - */ - public void setIsClient(String isClient) { - _isClient = Boolean.valueOf(isClient); - } - /** @since 0.8.13 */ - public boolean getIsClient() { - return _isClient; - } -} diff --git a/apps/i2ptunnel/jsp/wizard.jsp b/apps/i2ptunnel/jsp/wizard.jsp index 22f8af15c..ddb655699 100644 --- a/apps/i2ptunnel/jsp/wizard.jsp +++ b/apps/i2ptunnel/jsp/wizard.jsp @@ -2,10 +2,10 @@ // NOTE: Do the header carefully so there is no whitespace before the <%@page pageEncoding="UTF-8" -%><%@page contentType="text/html" import="net.i2p.i2ptunnel.web.WizardBean" +%><%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean" %> - + <% String pageStr = request.getParameter("page"); /* Get the number of the page we came from */ @@ -50,9 +50,9 @@ - <% if (wizardBean.allowCSS()) { - %> - + <% if (editBean.allowCSS()) { + %> + <% } %> @@ -82,7 +82,7 @@ } %> - +
@@ -341,7 +341,7 @@ if ("null".equals(clientInterface)) { clientInterface = "127.0.0.1"; } - for (String ifc : wizardBean.interfaceSet()) { + for (String ifc : editBean.interfaceSet()) { out.write("