np-fix bit-report

This commit is contained in:
Arndt Brenschede 2015-10-12 19:17:57 +02:00
parent ccf6641bad
commit 70bb46b156

View file

@ -45,6 +45,10 @@ public final class StatCoderContext extends BitCoderContext
*/ */
public static String getBitReport() public static String getBitReport()
{ {
if ( statsPerName == null )
{
return "<empty bit report>";
}
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
for ( String name : statsPerName.keySet() ) for ( String name : statsPerName.keySet() )
{ {