From 79d456a8c3948e03275962649a1b97188c7089f5 Mon Sep 17 00:00:00 2001 From: eyedeekay Date: Wed, 11 Oct 2023 12:02:30 -0400 Subject: [PATCH] Router: remove redundant cast in ConfigAdvancedHandler --- .../src/net/i2p/router/web/helpers/ConfigAdvancedHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigAdvancedHandler.java b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigAdvancedHandler.java index 6fa1ce9ce2..c510e19e2d 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigAdvancedHandler.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/helpers/ConfigAdvancedHandler.java @@ -106,7 +106,7 @@ private void saveChanges() { private void saveFF() { boolean saved = _context.router().saveConfig(ConfigAdvancedHelper.PROP_FLOODFILL_PARTICIPANT, _ff); if (_ff.equals("false") || _ff.equals("true")) { - FloodfillNetworkDatabaseFacade fndf = (FloodfillNetworkDatabaseFacade) _context.netDb(); + FloodfillNetworkDatabaseFacade fndf = _context.netDb(); boolean isFF = _ff.equals("true"); // this will rebuild the RI, log in the event log, etc. fndf.setFloodfillEnabled(isFF);