Bug 227765

Summary: Compiler warnings in N20080417-2000
Product: [Eclipse Project] JDT Reporter: Olivier Thomann <Olivier_Thomann>
Component: CoreAssignee: Eric Jodet <eric_jodet>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: frederic_fusier
Version: 3.4   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
[patch] - proposed fix none

Description Olivier Thomann CLA 2008-04-18 09:25:15 EDT
1. WARNING in /formatter/org/eclipse/jdt/internal/formatter/Scribe.java
 (at line 798)
private boolean includesBlockComments() {
The method includesBlockComments() from the type Scribe is never used locally
Comment 1 Eric Jodet CLA 2008-04-18 09:38:43 EDT
Created attachment 96597 [details]
[patch] - proposed fix

Unused code (method and constant) commented out in the Scribe until used (work on the comment formatter still in progress).
Thanks for pointing this out Olivier.
Comment 2 Eric Jodet CLA 2008-04-18 09:40:08 EDT
Patch released in HEAD for 3.4 M7
Comment 3 Maxime Daniel CLA 2008-04-28 07:59:28 EDT
Verified for 3.4 M7 using build I20080415-1646.