Bug 44694 - refactor rename: rename also setter and getter methods
Summary: refactor rename: rename also setter and getter methods
Status: CLOSED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-11 10:02 EDT by Ralf Hauser CLA
Modified: 2003-10-11 23:07 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Hauser CLA 2003-10-11 10:02:05 EDT
otherwise, one runs into problems e.g. with Struts that relies on those
functions being named after the private field name.

org.apache.jasper.JasperException: Exception accessing property readByRecip for
bean inMsgList: java.lang.NoSuchMethodException: Unknown property 'readByRecip'
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
....
Comment 1 Dirk Baeumer CLA 2003-10-11 14:08:23 EDT
When renaming a field there should be a check box on the dialog to rename 
setter and getters as well. Please reopen if this doesn't solve your problem.
Comment 2 Ralf Hauser CLA 2003-10-11 23:07:22 EDT
apologies, oversaw it...