I don't see any advantage of the way toString is factored into a paramString part, and I've never used paramString directly in any of my piccolo2d client code, so I'd be okay with this getting refactored .  Also, what's the reason for the:
String result = super.toString().replaceAll(".*\\.", "");
in the first line of the PNode.toString?

Sam Reid

allain wrote:
Most of the comments on them sound exactly like what toString is
designed for.

toString() should only ever be used for providing a better debug
output on an object.

  

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to