Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 386 Bytes

File metadata and controls

18 lines (16 loc) · 386 Bytes

Replace Parameter with Query

formerly: Replace Parameter with Method

Why?

  • You have code where you calling a query method and passing its results as the parameters of another method, while that method could call the query directly.

Benefits:

What?

How?

Sample

Before

After refactoring