Replace Tem with Query

You are using a temporary variable to hold the result of an expression. Extract the expression into a method. Replace all references to the temp with the expression. The new method can then be used in other methods.

Sample:
Replace Tem with Query Before

Replace Tem with Query After

你可能感兴趣的:(replace)