Listing 9 shows the refactored number classifier.
清单9中显示了重构的数字分类器。
The refactored client code is shown in Listing 4.
重构后的客户机代码如清单4所示。
Listing 5 shows the refactored prime-number tester.
清单5展示了重构的质数检验器。
Here is the refactored button, which USES the trait.
这里是重构过的按钮类,使用了这个trait。
Listing 10 shows the refactored prime-number tester.
清单10显示了重构的质数检验器。
This portion can be refactored into an InteractionUse.
这个部分就可以被重构到InteractionUse 中。
Base code is refactored to create a better join point model.
可以重构库代码创建更好的连接点模型。
To a client of a refactored method, there is no perceivable difference.
对于重构方法的客户机来说,看不到区别。
Periodically, however, components should be reengineered and refactored.
不过,应该定期对组件进行再工程和重构。
The means of deciding whether code should be refactored is often subjective.
决定代码是否需要重构的方法,通常是主观的。
The refactored solution is a guide that teaches others how to fix the problem.
重构的解决方案是指导其它人如何修正问题的指南。
Listing 10 is a new document, refactored to account for the need for a unique id.
清单10是一个经过重构的新文档,以便满足ID惟一性要求。
The CourseAction class has been refactored to take advantage of Seam's annotations.
courseaction类被重构为利用Seam的注释。
Then, the system can be safely repaired and refactored throughout its useful life.
这样,系统即可在其有用的生命周期中安全地进行修复和重构。
In refactored code however, it is expressed in much cleaner, more structured manner.
但重构后的代码会显得条理更清晰,结构更合理。
The Change Request records in ClearQuest and Jazz tools might need to be refactored.
ClearQuest和Jazz工具中的变更请求记录可能需要重构。
The vertical slice can then be refactored until the final system requirements are met.
然后,可以重构垂直切片,直到满足最终系统需求为止。
Geddy's code needs to be refactored to be more testable so we can have more complete coverage.
Geddy的代码需要进行重构、要更容易测试,以便我们有更完整的覆盖率。
By modifying the bindings, you can generally even keep the same XML representation as your data classes are refactored.
通过修改绑定,甚至通常能在重构数据类的情况下保持相同的XML表示形式。
It's also possible to objectively determine whether code should be refactored, however, whether it's yours or someone else's.
但是,也有可能客观地判断代码是否应当重构,不论是自己的代码还是别人的代码。
But when each statement includes too many choices and too much code, it could be an indication of code that needs to refactored.
但当一个语句包含太多的选择和代码时,它就可能暗示有需要重构的代码。
In the sample application, you took an unwieldy stylesheet and refactored it into a much smaller and more maintainable piece of code.
在示例应用程序中,您获取了一个笨拙的样式表并将其重构为一段更小更易于维护的代码。
The invocation handler could also be refactored to handle other operations across multiple method invocations on different object types.
还可以重构调用处理程序,让它处理其他横跨不同对象类型的方法调用的操作。
If you want to remove the parameter I, because it's unneeded, you could start by removing references to it in the method being refactored.
如果您打算删除不再需要的参数i,那么可以先从要进行重构的方法中删除对它的引用。
To resolve the problem, I refactored my connector so that it would no longer rely on a BrowseService object stored in an instance variable.
为了解决这个问题,我重构了连接器,使其不再依赖存储在实例变量中的BrowseService对象。
These types of strategies are generally signs that the data model should be refactored, but that may not be an option for legacy data models.
这些类型的策略常常意味着数据模型应该重构,但是遗留数据模型可能无法进行重构。
Classes and methods are likely to be added, removed, and renamed, as the code is refactored, bugs are fixed, and new features are implemented.
随着代码的重构、bug的修补和新特性的实现,类和方法不断被添加、删除和改名。
As we iteratively refactored the entire code base, we depended less and less on the workarounds until they were ultimately retired from service.
随着我们对整个代码库进行一次次的重组,我们对变通方案的依赖也越来越小直至最后它们退役。
There are various times when new code was introduced or old code was refactored away as indicated by sharp rises or drops in the lines of code count.
还有几次,新的代码被引入或者旧的代码被重构出去,这些可以从代码行计数的急剧升降上表现出来。
There are various times when new code was introduced or old code was refactored away as indicated by sharp rises or drops in the lines of code count.
还有几次,新的代码被引入或者旧的代码被重构出去,这些可以从代码行计数的急剧升降上表现出来。
应用推荐