I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit f58f703e authored by zzz's avatar zzz
Browse files

add some newlines to the source

parent 6b83fc6b
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ public class StatsGenerator { ...@@ -88,7 +88,7 @@ public class StatsGenerator {
out.write(buf.toString()); out.write(buf.toString());
buf.setLength(0); buf.setLength(0);
} }
out.write("</ul><br>"); out.write("</ul><br>\n");
} }
out.flush(); out.flush();
} }
...@@ -124,9 +124,9 @@ public class StatsGenerator { ...@@ -124,9 +124,9 @@ public class StatsGenerator {
buf.append(" using the lifetime of "); buf.append(" using the lifetime of ");
buf.append(curFreq.getEventCount()); buf.append(curFreq.getEventCount());
buf.append(" events)"); buf.append(" events)");
buf.append("<br>"); buf.append("<br>\n");
} }
buf.append("<br>"); buf.append("<br>\n");
} }
private void renderRate(String name, StringBuilder buf) { private void renderRate(String name, StringBuilder buf) {
...@@ -138,7 +138,7 @@ public class StatsGenerator { ...@@ -138,7 +138,7 @@ public class StatsGenerator {
buf.append("</i><br>"); buf.append("</i><br>");
} }
if (rate.getLifetimeEventCount() <= 0) { if (rate.getLifetimeEventCount() <= 0) {
buf.append("No lifetime events<br>"); buf.append("No lifetime events<br>\n");
return; return;
} }
long now = _context.clock().now(); long now = _context.clock().now();
...@@ -210,7 +210,7 @@ public class StatsGenerator { ...@@ -210,7 +210,7 @@ public class StatsGenerator {
buf.append("&amp;format=xml\" title=\"Dump stat history as XML\">XML</a>"); buf.append("&amp;format=xml\" title=\"Dump stat history as XML\">XML</a>");
buf.append(" in a format <a href=\"http://people.ee.ethz.ch/~oetiker/webtools/rrdtool\">RRDTool</a> understands)"); buf.append(" in a format <a href=\"http://people.ee.ethz.ch/~oetiker/webtools/rrdtool\">RRDTool</a> understands)");
} }
buf.append("</li>"); buf.append("</li>\n");
} }
// Display the strict average // Display the strict average
buf.append("<li><b>lifetime average value:</b> "); buf.append("<li><b>lifetime average value:</b> ");
...@@ -219,7 +219,7 @@ public class StatsGenerator { ...@@ -219,7 +219,7 @@ public class StatsGenerator {
buf.append(rate.getLifetimeEventCount()); buf.append(rate.getLifetimeEventCount());
buf.append(" events<br></li>"); buf.append(" events<br></li>");
buf.append("</ul>"); buf.append("</ul>");
buf.append("<br>"); buf.append("<br>\n");
} }
private static void renderPeriod(StringBuilder buf, long period, String name) { private static void renderPeriod(StringBuilder buf, long period, String name) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment