任何大面积流行的公共代码库或多或少都会被认为是不可变的。
Any widely public library can be considered more or less unchangeable.
工作在公共代码之上的开发人员经常会打断开发过程中其他的软件部分的工作。
Developers working on common code frequently broke other pieces of software in the process.
在与本文相关的解决方案中,您将看到每个操作的公共代码都被移到了抽象超类中。
In the solution associated with this article, you'll see that the common code for each of the actions has been moved to an abstract superclass.
例如,如果有一种更简单的方法来部署和维护多个EAR使用的公共代码,难道这不是很好吗?
For example, wouldn't it be nice to have an easier way to deploy and maintain common code that is used by multiple EARs?
所有派生实体类和会话类都继承了bobase类中create和find方法的公共代码。
All derived entity classes and the session class inherit the common code of the create and find methods from the BOBase class.
我们将定义一个抽象类dynamicprogramming,它包含所有算法的公共代码。
You'll define an abstract DynamicProgramming class that contains code common to all the algorithms.
然而,如果读操作远远超过写操作,您可以结合使用内部锁和volatile变量来减少公共代码路径的开销。
However, if reads greatly outnumber modifications, you can combine intrinsic locking and volatile variables to reduce the cost on the common code path.
然而,该图还显示出一些公共代码可能不能很好地属于子功能用例(UC - common1 - 2)的实现。
However, the figure also shows that some common code may well not belong to the implementation of the subfunction use case (UC-common 1-2).
除了可以用Source菜单项生成代码外,还可以通过使用Ctrl +Space快捷键编写许多公共代码块来生成大量代码。
In addition to the code you can generate with the items in the Source menu, you can generate a lot of code by using the Ctrl + Space shortcut for writing many common blocks of code.
所有不能通过发布的(公共的和受保护的)接口访问的代码都应删除。
Any code that cannot be reached through the published (public and protected) interfaces should be deleted instead.
向客户提供新功能的应用程序代码,称为公共客户数据服务。
The application code that provides the new function to customers calls the Common customer Data Service.
为简便起见,您可以将代码打包成用于字符串替代的公共XSL模板,以使它可重用。
For convenience, you can package the code in a common XSL template for string replacement, thus making it reusable.
一个是“公共的”补丁,包含了对通用内核代码的更改,另一个是特定于体系结构的补丁。
One is the "common" patch that contains the changes for the generic kernel code, and the other is the architecture-specific patch.
这些产品无需适配器或检测代码即可内在地发送事件以发射公共基础事件。
These products natively send events without adapters or instrumenting code to emit Common Base events.
现在你的代码和公共字段一样简洁精悍。
上述代码假定未将该门户配置为提供公共会话。
The code above assumes that the portal is not configured to give public sessions.
最终的目标是要建立一个存在自由软件、建设网络协议和开放性软件代码的公共空间。
The goal, ultimately, is to create a public space that enables the existence of free software... built via the principles and code of open software.
在此场景中,组件开发人员可以为公共客户数据服务编写中介代码。
In this scenario, the Component Developer could code the mediation for the Common Customer Data Service.
如果针对单一的公共主干代码,简单的时间戳或是自增长版本号也就够了。
If you are using a single public branch a simple timestamp or auto-incrementing version number would be sufficient.
然而,这个命名糟糕的公共类在代码中保留的时间越久,则相关的使用也会越来越多,改变起来就越来越困难。
However, the longer the badly named class remains in the code base the more prevalent its usage becomes, and the bigger the task of changing it.
MDA的公共基础也会促进部分代码的生成和实现,当然这些代码不是标准化的。
Their common basis in MDA will also promote partial generation of implementation code, but that code, of course, will not be standardized.
如果你没有单元测试,你的代码里也不会有公共的Mock对象或其它测试技术。
If you have no unit testing, you also don't have mock objects or other testing techniques common in code.
代码中一个特定公共功能实际上从来不被调用。
A specific public function in the code is never actually called.
TemplateMethod模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。
The Template Method pattern suggests that I should move common boilerplate code up the inheritance hierarchy, deferring algorithmic details to child classes.
改进被贡献出来,融入公共的OpenS im代码基,让更多的人能够受益。
Improvements are contributed back into the public OpenSim code base to benefit the larger community.
清单4包含这个公共Handlder程序子过程接口的一个代码段。
Listing 4 contains a code snippet of the common handler sub-procedure interface.
许多项目的许可证代码都符合GNU公共许可版本2中的条款,即所谓的“copyleft”许可证。
A significant number of projects license code according to the terms of the GNU Public license version 2-the so-called "copyleft" license.
如果想要构建额外的Web组件,最好把公共的代码片段放到可重用的标记文件中。
If you want to build additional Web components, it is a good idea to place the common code fragments into reusable tag files.
与booksearch类中的公共方法类似,这些方法的代码如下。
As for the public methods in our BookSearch class, the code for these methods is as follows.
与booksearch类中的公共方法类似,这些方法的代码如下。
As for the public methods in our BookSearch class, the code for these methods is as follows.
应用推荐