From 8d928eadbae0d75817c897f32dadc77b70f6e523 Mon Sep 17 00:00:00 2001 From: zzz Date: Mon, 27 Feb 2017 19:49:05 +0000 Subject: [PATCH] minor fixes after review --- apps/routerconsole/jsp/createreseed.jsp | 1 - core/java/src/net/i2p/util/SystemVersion.java | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/routerconsole/jsp/createreseed.jsp b/apps/routerconsole/jsp/createreseed.jsp index 67653b155..605ed6100 100644 --- a/apps/routerconsole/jsp/createreseed.jsp +++ b/apps/routerconsole/jsp/createreseed.jsp @@ -20,7 +20,6 @@ try { response.addHeader("Pragma", "no-cache"); response.setContentType("application/zip; name=\"i2preseed.zip\""); response.addHeader("Content-Disposition", "attachment; filename=\"i2preseed.zip\""); - byte buf[] = new byte[16*1024]; in = new java.io.FileInputStream(zip); java.io.OutputStream cout = response.getOutputStream(); net.i2p.data.DataHelper.copy(in, cout); diff --git a/core/java/src/net/i2p/util/SystemVersion.java b/core/java/src/net/i2p/util/SystemVersion.java index 3438511a4..3c1880f2d 100644 --- a/core/java/src/net/i2p/util/SystemVersion.java +++ b/core/java/src/net/i2p/util/SystemVersion.java @@ -20,6 +20,9 @@ public abstract class SystemVersion { * @since 0.9.28 */ public static final String DAEMON_USER = "i2psvc"; + /* + * @since 0.9.29 + */ public static final String GENTOO_USER = "i2p"; private static final boolean _isWin = System.getProperty("os.name").startsWith("Win");