Bug 227765 - Compiler warnings in N20080417-2000
Summary: Compiler warnings in N20080417-2000
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: Eric Jodet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 09:25 EDT by Olivier Thomann CLA
Modified: 2008-04-28 07:59 EDT (History)
1 user (show)

See Also:


Attachments
[patch] - proposed fix (1.63 KB, patch)
2008-04-18 09:38 EDT, Eric Jodet CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.