Properties refactoring


(JohnMoshakis) #1

Hi,
Would it be possible to have a refactoring that changed properties to use the new syntax ?

For example

var     _repository: RacesRepository;
property Repository: RacesRepository read get_Repository;
method get_Repository: RacesRepository;
begin
  if _repository = nil then 
  begin
    _repository := new RacesRepository(_connectionHelper.Get())
  end;
  exit _repository
end;

goes to

var     _repository: RacesRepository;
property Repository: RacesRepository read 
  begin
    if _repository = nil then 
    begin
      _repository := new RacesRepository(_connectionHelper.Get())
    end;
    exit _repository
  end;

Cheers,
John


(RemObjects) #2

Thanks, logged as bugs://81632