RestComm / Restcomm-Connect

The Open Source Cloud Communications Platform
http://www.restcomm.com/
GNU Affero General Public License v3.0
240 stars 214 forks source link

RouteSelectFailureSpecificInfoImpl toString curley bracket #3001

Open mon205 opened 4 years ago

mon205 commented 4 years ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug /kind feature

What happened: When trying to print a cap message of type (EventReportBCSMRequestImpl) using toString() method, it will print the 'legID' and 'miscCallInfo' in separate parts than the main message part.

What you expected to happen: The 'leg' id and 'miscCallInfo' should be printed inside the main message part

How to reproduce it (as minimally and precisely as possible): Just call toString() for any EventReportBCSMRequestImpl message and the issue will raise.

Anything else we need to know?: After debugging, I found that the problem is in the RouteSelectFailureSpecificInfoImpl.toString() method where a curly bracket '{' printed mistakenly instead of the bracket '[' I can fix this issue directly if you let me do a PR. User name is 'mon205'

Environment: