Skip to content

Commit

Permalink
don't re-use prop name
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Apr 4, 2023
1 parent e137907 commit 2b89375
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import net.i2p.router.web.HelperBase;

public class JettyMigrationHelper extends HelperBase{
public static final String PROP_COMPLETE = "routerconsole.jettyMigrationComplete";
public static final String PROP_NEEDS_JETTY_MIGRATION = "routerconsole.jettyMigrationComplete";
public void complete() {
_context.router().saveConfig(PROP_COMPLETE, "true");
_context.router().saveConfig(PROP_NEEDS_JETTY_MIGRATION, "true");
}
}
1 change: 1 addition & 0 deletions apps/routerconsole/jsp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
net.i2p.I2PAppContext ctx = net.i2p.I2PAppContext.getGlobalContext();
boolean oldHome = ctx.getBooleanProperty("routerconsole.oldHomePage");
boolean wizRun = ctx.getBooleanProperty(net.i2p.router.web.helpers.WizardHelper.PROP_COMPLETE);
boolean needsJettyMigration = ctx.getBooleanProperty(net.i2p.router.web.helpers.JettyMigrationHelper.PROP_NEEDS_JETTY_MIGRATION);
String firstVersion = ctx.getProperty("router.firstVersion");
String tgt;
final boolean ENABLE_WIZARD_ON_FIRST_RUN = true;
Expand Down

0 comments on commit 2b89375

Please sign in to comment.