|
From: <ga...@us...> - 2012-12-21 15:21:25
|
Revision: 5942
http://jnode.svn.sourceforge.net/jnode/?rev=5942&view=rev
Author: galatnm
Date: 2012-12-21 15:21:18 +0000 (Fri, 21 Dec 2012)
Log Message:
-----------
NET : fix padding when no statistics.
Modified Paths:
--------------
trunk/cli/src/commands/org/jnode/command/net/NetstatCommand.java
Modified: trunk/cli/src/commands/org/jnode/command/net/NetstatCommand.java
===================================================================
--- trunk/cli/src/commands/org/jnode/command/net/NetstatCommand.java 2012-12-21 15:17:21 UTC (rev 5941)
+++ trunk/cli/src/commands/org/jnode/command/net/NetstatCommand.java 2012-12-21 15:21:18 UTC (rev 5942)
@@ -73,6 +73,7 @@
throws NetworkException {
final Statistic[] statistics = stat.getStatistics();
if (statistics.length == 0) {
+ padOutput(out, padSize);
out.print(str_none);
} else {
StringBuffer buffer = new StringBuffer();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|