× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I understand. Thank you

-----Original Message-----
From: Edmund Reinhardt [mailto:edmund.reinhardt@xxxxxxxxxx]
Sent: Wednesday, January 04, 2017 11:35 AM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Refactor & Qualified DS


Hi Justin,
If I understand you correctly, you would like to change
st_mtime = st_mtime;
to
st_mtime = FileStats.st_mtime;
or
FileStats.st_mtime = FileStats.st_mtime; by using the refactoring wizard.
Refactoring by definition never changes the semantics of the program. The program behaviour is identical, but it is reorganized to be clearer and easier to maintain.
st_mtime is a subfield of statds and FileStats.st_mtime is a subfield of FileStats, so this is no longer a refactoring and that is why it is not allowed.
(that is why any field with a '.' in it is considered an invalid name in the refactoring dialog). You can rename the data structure or the subfield but you cannot change from the reference to one data structure to another.

Regards,

Edmund (E.H.)
Reinhardt

Technical Architect for Rational Developer for i




Phone: 1-905-413-3125 | Home: IBM
1-905-854-6195
E-mail: edmund.reinhardt@xxxxxxxxxx 8200 Warden Ave
RDi Community: ibm.biz/rdi_hub Markham, ON L6G 1C7
Find me on: LinkedIn: Canada
http://ca.linkedin.com/in/edmundreinhardt/











As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.