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:
Before

After
posted @ 2007-04-20 17:12  南守拥  阅读(224)  评论(0)    收藏  举报