Having all these different versions of toString seems a bit odd to me.
Is there a usecase for the string representation outside of 'debug/log' ?
Maybe we should move it to a Visitor of the Content instead?
| public interface Printer
| {
| void write(Asset, Path, PrintStream)
| }
|
| archive.print(Printers.minimal(), System.out)
| archive.print(Printers.content())
|
And the toString could be a simple
| archive.toString() {
| return name + content.toString()
| }
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269158#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...