Bug 268802

Summary: Useless call to getSource() in SourceTypeConverter
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: frederic_fusier, srikanth_sankaran
Version: 3.5Keywords: performance
Target Milestone: 3.5 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description David Audel CLA 2009-03-16 10:53:51 EDT
build I20090311-0100

SourceTypeConverter#convertAnnotations() call SourceTypeConverter#getSource() to create annotation but getSource() is call even when there is no annotation.

getSource() should be call only when necessary.
Comment 1 David Audel CLA 2009-03-16 10:55:07 EDT
Created attachment 128924 [details]
Proposed fix
Comment 2 David Audel CLA 2009-03-16 11:45:07 EDT
Released for 3.5M7.
Comment 3 Srikanth Sankaran CLA 2009-04-28 02:37:50 EDT
Verified for 3.5M7 using I20090426-2000