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

Bug 114668

Summary: [servlets] ServletTemplate in .JETEmitters generates 100 compile warnings
Product: [WebTools] WTP Java EE Tools Reporter: Nathan Vick <nvick>
Component: jst.servletAssignee: Chuck Bridgham <cbridgha>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: kaloyan
Version: 0.7.1   
Target Milestone: 3.0 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The data from the Problems view.
none
The current Java source for ServletTemplate
none
Nathan's proposal to fix warnings in ServletTemplate none

Description Nathan Vick CLA 2005-11-01 17:26:14 EST
I have enabled a number of compiler warnings under Window, Preferences, Java,
Compiler, Errors/Warnings. These warnings have helped me clean up my code, but
the warnings generated by org.eclipse.jst.j2ee.web.ServletTemplate in the hidden
.JETEmitters project are distracting. This .JETEmitters project seems to be some
kind of hidden project, and ServletTemplate seems to be part of WTP 0.7/0.7.1
used for creating new Servlets.

I would appreciate it if warnings from hidden projects like .JETEmitters were
either hidden from the Problems view or fixed.
Comment 1 Nathan Vick CLA 2005-11-01 17:28:30 EST
Created attachment 29120 [details]
The data from the Problems view.

Here are the compiler warnings created by
org.eclipse.jst.j2ee.web.ServletTemplate
Comment 2 Nathan Vick CLA 2005-11-01 17:32:27 EST
Created attachment 29121 [details]
The current Java source for ServletTemplate

The current Java source for ServletTemplate from Nathan Vick's computer. I
presume that this was generated by WTP 0.7.1.
Comment 3 Nathan Vick CLA 2005-11-01 17:33:53 EST
Created attachment 29122 [details]
Nathan's proposal to fix warnings in ServletTemplate

This attachment contains Nathan Vick's changes to ServletTemplate to fix the
100 compile warnings.
Comment 4 Kaloyan Raev CLA 2008-02-20 08:58:47 EST
I have recently fixed (see bug 218323) all warnings in the .JETEmitter project. This happened in the WTP 3.0 branch. 
So we may close this bug. 

*** This bug has been marked as a duplicate of bug 218323 ***