Structural replace help

I'm trying to replace all occurences of

with

can someone help me out? I can't
figure this thing out.

1 comment
Comment actions Permalink

Brad wrote:

I'm trying to replace all occurences of


with


can someone help me out? I can't
figure this thing out.


Define your search template as:

$request$.getParameter($param$);

For the request variable, turn on 'apply constraint within type
hierarchy', put the appropriate class name (ServletRequest?) in the text
constraint and set min and max count to 1.

For the param variable, set the min and max count to 1.

Define your replacement tempate as:

getParameter($param$);

Ciao,
Gordon

--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001

0

Please sign in to leave a comment.