Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Bug Report / [ FIXED ] Small Bug in Notification on: January 28, 2008, 01:00:31
I've noticed very small bug in Notification class (v1.7.1) in toString method.

On lines 115 and 116 it's:
msg += "\nBody:"+( body == null )?"null":body.toString();
msg += "\nType:"+( type == null )?"null":type;


but it should be:
msg += "\nBody:"+(( body == null )?"null":body.toString());
msg += "\nType:"+(( type == null )?"null":type);


so you get string concatenation instead of using "\nBody" and "\nType" strings as conditional statement for conditional operator.
Pages: [1]