From f58f703ecb9deed13e7842c4e0150f71bcd7a83b Mon Sep 17 00:00:00 2001 From: zzz Date: Wed, 16 Dec 2009 17:26:49 +0000 Subject: [PATCH] add some newlines to the source --- .../java/src/net/i2p/router/web/StatsGenerator.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/routerconsole/java/src/net/i2p/router/web/StatsGenerator.java b/apps/routerconsole/java/src/net/i2p/router/web/StatsGenerator.java index 2228f6078..9ac1ae542 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/StatsGenerator.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/StatsGenerator.java @@ -88,7 +88,7 @@ public class StatsGenerator { out.write(buf.toString()); buf.setLength(0); } - out.write("
"); + out.write("
\n"); } out.flush(); } @@ -124,9 +124,9 @@ public class StatsGenerator { buf.append(" using the lifetime of "); buf.append(curFreq.getEventCount()); buf.append(" events)"); - buf.append("
"); + buf.append("
\n"); } - buf.append("
"); + buf.append("
\n"); } private void renderRate(String name, StringBuilder buf) { @@ -138,7 +138,7 @@ public class StatsGenerator { buf.append("
"); } if (rate.getLifetimeEventCount() <= 0) { - buf.append("No lifetime events
"); + buf.append("No lifetime events
\n"); return; } long now = _context.clock().now(); @@ -210,7 +210,7 @@ public class StatsGenerator { buf.append("&format=xml\" title=\"Dump stat history as XML\">XML"); buf.append(" in a format RRDTool understands)"); } - buf.append(""); + buf.append("\n"); } // Display the strict average buf.append("
  • lifetime average value: "); @@ -219,7 +219,7 @@ public class StatsGenerator { buf.append(rate.getLifetimeEventCount()); buf.append(" events
  • "); buf.append(""); - buf.append("
    "); + buf.append("
    \n"); } private static void renderPeriod(StringBuilder buf, long period, String name) {