de-thinsp until we can check UA for opera

This commit is contained in:
zzz
2010-12-19 00:04:55 +00:00
parent 0d20d95ccd
commit 360d96d085
6 changed files with 28 additions and 15 deletions

View File

@@ -29,6 +29,11 @@ import net.i2p.stat.RateStat;
* the summary sections on the router console.
*/
public class SummaryHelper extends HelperBase {
// Opera 10.63 doesn't have the char, TODO check UA
//static final String THINSP = " / ";
static final String THINSP = " / ";
/**
* Retrieve the shortened 4 character ident for the router located within
* the current JVM at the given context.
@@ -321,7 +326,7 @@ public class SummaryHelper extends HelperBase {
fmt = new DecimalFormat("#0.0");
else
fmt = new DecimalFormat("#0.00");
return fmt.format(in) + " / " + fmt.format(out) + " " +
return fmt.format(in) + THINSP + fmt.format(out) + " " +
(mega ? 'M' : 'K');
}