需要更多错误处理和清理代码。
您只需要自如地清理代码就可以了。
这是崩溃的膨胀触发崇拜者清理代码。
It is the collapsing of the Expander that triggers the Adorer clean up code.
一个好的办法是清理代码,尽可能地使用新的API。
It's a good idea to clean up the code and adopt the new APIs where possible.
这是地方,你会为你的对象发生任何清理代码。
This is the place where you would place any cleanup code for your object.
在清理代码的时候,我们为之付出的努力只有在将来才能受益。
When we clean up the code, the cleanup we make will only pay off at some future time.
Ksplice还提供一对hooks,可以在更新内核之前和之后运行设置和清理代码。
Ksplice also provides a pair of hooks to run setup and tear-down code immediately before and immediately after the kernel is updated.
您现在应该熟悉这个代码的最后部分了:生成头部,获取并放置生成的ODS文件的内容,然后通过删除额外的文件进行清理。
The final part of the code should be familiar by now: put out headers, get and put the contents of the produced ODS file, and clean up by deleting the extra files.
清单12给出了用来处理两个参数和根据这些需求清理部分路径的代码。
Listing 12 shows the code I used to handle the two parameters and cleanse the partial path according to these requirements.
同样当你开始生成文档或者代码,做清理,安装等等的时候,也要使其自动完成。
Generation of documentation or code, cleanup, installation, etc, as soon as you start doing it.
尽管我们已经清理了数据库代码,但仍然存在一些令人不愉快的特殊情况,以及试图引入一些共性的不太成功的尝试。
Even though we've cleaned it some, the database code is still full of ugly special cases and not-quite-successful attempts to introduce generality.
人们在开发处于灰色地带的代码时,打算稍后做清理,却从未完成。
The code in this gray area is written with the presumption that it would be cleaned up later, but then it is never done.
在如清单2所示的代码内,我们检查并清理了XML,确保编码全部为utf - 8。
In the sample code shown in listing 2, we check and clean the XML in case the encoding is not UTF-8.
一种选择是在OpenJDK6的升级工作空间内重做所有的代码审核和障碍清理工作。
One alternative was redoing all the code auditing and clearing of encumbrances on the 6 update workspaces.
要清理Struts代码库中多个类的设计,一种方法就是意识到这种惯用模式的存在并巩固这一行为。
One way to clean up the design of multiple classes in the Struts code base is to realize that this idiomatic pattern exists and consolidate that behavior.
Cwm(1)经过了重大的代码清理。
把EJB实体bean升级到EJB 2.0需要将现有的finder查询手工转换成ejb - QL。被修改过的代码可能也需要一些手工清理。
Upgrading EJB entity beans to EJB 2.x will require that existing finder queries be manually converted into EJB-QL; the changed code may require some manual cleanup.
有时,代码清理是很重要的,因为要改正或者理解那些使用中的代码是不太可能的。
sometimes code cleanup is important, because the code is still in active use, and it becomes impossible to make it correct or understand it anymore.
通过添加如清单5中所显示的代码可以完成这种清理工作。
Adding some code like that shown in Listing 5 takes care of this clean-up.
当所有的项目都是源代码形式时,我们首先进行清理构建。
We first did a clean build when all of the projects were in source form.
少数选项把“可以应用当地标准调整或者代码清理”作为一个优点,意思是说已有的代码清理项目列表仍然有用。
A few of the options claim "you can apply locally standard tweaks or code cleanup" as a benefit, which means that your existing list of code-cleanup items is still useful.
可以在批模式下进行代码清理工作,所以可以即刻对整个项目甚至解决方案进行清理。
Code Cleanup works in batch mode, so that you can instantly clean the whole project or even solution.
这段代码在关闭表单之前清理对象上下文。
This code disposes of the object context before the form is closed.
对于很多人而言,这样的事情总是顺理成章:代码太糟糕了,只能停下或者延缓特性开发的进度,对代码进行清理。
It seems obvious to a lot of people that such a thing can happen, that the code can get so bad that the only thing to do is to clean it up while halting or reducing feature progress.
代码编写窍门消失不见,很多开发人员,有非常出色的、也有“平庸”的,最终合力清理干净了那堆破烂代码,但也让公司为此付出了很多时间与金钱。
A lot of very good and even "average" developers eventually cleaned up the mess, but it cost the company a lot of time and money.
为了清理环境,在将源代码解压缩的目录中执行下面这个命令:antclean
To clean the environment, execute the following command within the directory where you unpacked the source code: ant clean
下面的代码片段检查' postmsg '响应,向数据库添加数据,以及清理数据库。
Here's the snippet that checks for the 'postmsg' action, inserts the message into the database, and cleans it out on the fly as well.
Tidy对于清理有马虎习惯的人使用编辑工具创作代码非常有效。
Tidy is very effective at cleaning up markup created by authoring tools with sloppy habits.
Tidy对于清理有马虎习惯的人使用编辑工具创作代码非常有效。
Tidy is very effective at cleaning up markup created by authoring tools with sloppy habits.
应用推荐