diff --git a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java index 0f11ea5340d713cf7db6ad63090f6a4d85b46b8d..1b460a3c24d709a8b6b3ce48f9426348f29fb130 100644 --- a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java +++ b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketEepGet.java @@ -163,7 +163,7 @@ public class I2PSocketEepGet extends EepGet { protected String getRequest() throws IOException { StringBuilder buf = new StringBuilder(2048); URL url = new URL(_actualURL); - String host = url.getHost(); + //String host = url.getHost(); String path = url.getPath(); String query = url.getQuery(); if (query != null) diff --git a/apps/routerconsole/java/src/net/i2p/router/web/NetDbRenderer.java b/apps/routerconsole/java/src/net/i2p/router/web/NetDbRenderer.java index 15ec901548346eff54eeb0e4727b05aabaa58f0b..e8e498da2ed6378ff00cf480fc51b6b5796a95d2 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/NetDbRenderer.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/NetDbRenderer.java @@ -407,7 +407,6 @@ public class NetDbRenderer { */ private static int classifyTransports(RouterInfo info) { int rv = 0; - String hash = info.getIdentity().getHash().toBase64(); for (RouterAddress addr : info.getAddresses()) { String style = addr.getTransportStyle(); if (style.equals("NTCP")) { diff --git a/apps/routerconsole/java/src/net/i2p/router/web/PluginUpdateChecker.java b/apps/routerconsole/java/src/net/i2p/router/web/PluginUpdateChecker.java index c15dbbf6f026810d1d6211db2d71d9b83d774150..cf3f75f3ebba6e6263af039f461e7717e8200396 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/PluginUpdateChecker.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/PluginUpdateChecker.java @@ -128,7 +128,8 @@ public class PluginUpdateChecker extends UpdateHandler { protected void update() { updateStatus("<b>" + _("Checking for update of plugin {0}", _appName) + "</b>"); // use the same settings as for updater - boolean shouldProxy = Boolean.valueOf(_context.getProperty(ConfigUpdateHandler.PROP_SHOULD_PROXY, ConfigUpdateHandler.DEFAULT_SHOULD_PROXY)).booleanValue(); + // always proxy, or else FIXME + //boolean shouldProxy = Boolean.valueOf(_context.getProperty(ConfigUpdateHandler.PROP_SHOULD_PROXY, ConfigUpdateHandler.DEFAULT_SHOULD_PROXY)).booleanValue(); String proxyHost = _context.getProperty(ConfigUpdateHandler.PROP_PROXY_HOST, ConfigUpdateHandler.DEFAULT_PROXY_HOST); int proxyPort = _context.getProperty(ConfigUpdateHandler.PROP_PROXY_PORT, ConfigUpdateHandler.DEFAULT_PROXY_PORT_INT); _baos.reset(); diff --git a/apps/susidns/src/java/src/i2p/susi/dns/SubscriptionsBean.java b/apps/susidns/src/java/src/i2p/susi/dns/SubscriptionsBean.java index 88a6552be38c9f484fa1d0a0a79fe6ebab49d6cb..69597f270b7b58bea5391238382d0d8fecf7fb37 100644 --- a/apps/susidns/src/java/src/i2p/susi/dns/SubscriptionsBean.java +++ b/apps/susidns/src/java/src/i2p/susi/dns/SubscriptionsBean.java @@ -130,8 +130,8 @@ public class SubscriptionsBean if( lastSerial != null && serial != null && serial.compareTo( lastSerial ) == 0 ) { if (action.equals(_("Save"))) { save(); - String nonce = System.getProperty("addressbook.nonce"); /******* + String nonce = System.getProperty("addressbook.nonce"); if (nonce != null) { // Yes this is a hack. // No it doesn't work on a text-mode browser. diff --git a/core/java/src/gnu/crypto/prng/AsyncFortunaStandalone.java b/core/java/src/gnu/crypto/prng/AsyncFortunaStandalone.java index 6ca88b29367fb188bcaf94b16bd5b5967a67b1a9..e532edb2df7a6edf7ec9ac20593c8bfe6895832d 100644 --- a/core/java/src/gnu/crypto/prng/AsyncFortunaStandalone.java +++ b/core/java/src/gnu/crypto/prng/AsyncFortunaStandalone.java @@ -156,7 +156,7 @@ public class AsyncFortunaStandalone extends FortunaStandalone implements Runnabl } private void doFill(byte buf[]) { - long start = System.currentTimeMillis(); + //long start = System.currentTimeMillis(); if (pool0Count >= MIN_POOL_SIZE && System.currentTimeMillis() - lastReseed > 100) { diff --git a/core/java/src/net/i2p/time/Timestamper.java b/core/java/src/net/i2p/time/Timestamper.java index 829d7a68a4127145e1c34f788a23b363f7a3a0a3..39908ca5782fc4d7f70e86eb02057b0aad2774cf 100644 --- a/core/java/src/net/i2p/time/Timestamper.java +++ b/core/java/src/net/i2p/time/Timestamper.java @@ -316,7 +316,6 @@ public class Timestamper implements Runnable { System.setProperty(PROP_DISABLED, "false"); System.setProperty(PROP_QUERY_FREQUENCY, "30000"); I2PAppContext ctx = I2PAppContext.getGlobalContext(); - long now = ctx.clock().now(); for (int i = 0; i < 5*60*1000; i += 61*1000) { try { Thread.sleep(61*1000); } catch (InterruptedException ie) {} }