I don't know nothing about YAML but my default toString goes a little
something like this..

return this.getClass().getSimpleName() + ' ' + imporantField1 + ' ' +
importantField2;

getSimpleName survives refactoring and char space ' ' is 'neater' in
my mind than a white space string.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to