cleaner generator toString()

This commit is contained in:
Jesse McConnell 2012-06-29 13:55:36 -05:00
parent 1a56a63045
commit 81372c2b7d
1 changed files with 7 additions and 0 deletions

View File

@ -50,4 +50,11 @@ public class Generator {
FrameGenerator generator = generators.get(frame.getOpCode()); FrameGenerator generator = generators.get(frame.getOpCode());
return generator.generate(buffer,frame); return generator.generate(buffer,frame);
} }
@Override
public String toString()
{
return String.format("Generator {%s registered}",generators.size());
}
} }