Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 315147

Summary: Inconsistent use of 'ref' and 'handle' in JSON
Product: [WebTools] JSDT Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact: Simon Kaegi <simon_kaegi>
Severity: normal    
Priority: P3 CC: thatnitind
Version: 3.2   
Target Milestone: 3.3 M2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
fix none

Description Michael Rennie CLA 2010-05-31 17:02:22 EDT
code from HEAD

in our RDWP we use the attributes 'ref' and 'handle' during look ups and frame operations. They are referring to the same idiom, and as such we should standardize on one or the other, not both. 

I vote we use ref and toss handle.
Comment 1 Michael Rennie CLA 2010-08-17 01:48:12 EDT
Created attachment 176756 [details]
fix

the patch tosses 'handle' in favour of 'ref'
Comment 2 Michael Rennie CLA 2010-08-17 01:50:35 EDT
applied patch to HEAD, all tests pass.

also updated the wiki spec: 

http://wiki.eclipse.org/JSDT/Debug/Rhino_Debug_Wire_Protocol