Activity Forums Salesforce® Discussions What are the recommended ways to refactor in Apex?

  • Himanshu

    Member
    May 31, 2016 at 10:45 AM

    Hi Ravi,

    you can do it with File search in eclipse, but instead of a new class. I mostly create a new method with required changes in the same class, after all the dependencies are updated I just delete the old method header and reuse the same old code with new one. Same applies to variables as well.

Log In to reply.