Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » JSP editor detects java errors and warnings, but offers no fixes
JSP editor detects java errors and warnings, but offers no fixes [message #481540] Fri, 21 August 2009 13:17 Go to next message
Eclipse UserFriend
Originally posted by: david.balazic.hermes.si.foo

Hi!

In Eclipse 3.5.0, "Dynamic Web Project" when editing a JSP file, if a
Java portion has a warning, it is underlined and everything, but no
quick fix is offered, like in *.java files. Example:

List a_list = (List)returnSomeList();

gives a warning : List is a raw type. References to generic type List<E>
should be parameterized

But the pop up does not offer quick fixes, like it does for the same
line in a pure Java file.

Is this a bug ?

Regards,
David

PS: Some additional config details (to my prevoius mail today)

-- Configuration Details --
Product: Eclipse 1.2.0.20090619-0620 (org.eclipse.epp.package.java.product)
Installed Features:
org.eclipse.jdt 3.5.0.v20090527-2000-7r88FEeFJePyvYeA33DjZ_c1

PPS: My email address is (hopefully) spam protected/mangled
Re: JSP editor detects java errors and warnings, but offers no fixes [message #481602 is a reply to message #481540] Fri, 21 August 2009 17:40 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2341
Registered: July 2009
Senior Member
David BalaĹžic wrote:
> In Eclipse 3.5.0, "Dynamic Web Project" when editing a JSP file, if a
> Java portion has a warning, it is underlined and everything, but no
> quick fix is offered, like in *.java files. Example:
>
> List a_list = (List)returnSomeList();
>
> gives a warning : List is a raw type. References to generic type List<E>
> should be parameterized
>
> But the pop up does not offer quick fixes, like it does for the same
> line in a pure Java file.
>
> Is this a bug ?

No, it's a feature we haven't implemented, yet.

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Can a handler be enabled without being active?
Next Topic:CVS update hook
Goto Forum:
  


Current Time: Fri Dec 19 09:30:15 GMT 2014

Powered by FUDForum. Page generated in 0.01712 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software