论坛首页 Java企业应用论坛

Effective Java Second Edition中文版勘误列表

浏览 5267 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (1)
作者 正文
   发表时间:2008-12-19   最后修改:2009-07-18
相关资源:
EclipseJDK6 Effective Java Second Edition Examples:
http://java2class.iteye.com/blog/291068

Effective Java Second Edition中文翻译术语表讨论专用贴:
http://yulimin.iteye.com/blog/272088

本书地址:
http://java.sun.com/docs/books/effective/

英文勘误:
http://java.sun.com/docs/books/effective/errata.html

***************************************************************************
勘误列表模板:
页码:第XXX页,第YY段ZZ行
原文:
译文:
修正:
说明:
***************************************************************************
页码:第101页,中文第三段末尾
原文:but List<String>.class and List<?>.class are not.
译文:但是List<String.class和List<?>.class则不合法
修正:但是List<String>.class和List<?>.class则不合法
说明:感谢“打倒小日本”:)
时间:2009.03.01 21:06:00已核实

页码:第40页,第二段首
原文:At this point, you might expect m.get(new PhoneNumber(707, 867, 5309)) to return "Jenny", but it returns null.
译文:这时候,你可能期望m.get(new PhoneNumber(408, 867, 5309)会返回“Jeeny"
修正:这时候,你可能期望m.get(new PhoneNumber(707, 867, 5309)会返回“Jeeny"
说明:感谢 hylxsfh 提出,很认真啊!佩服!
时间:2009.03.22 21:08:00已核实

页码:第37页,第二段倒数两行
译文:例如,假设有一个Polygon类,并缓存了该区域。如果两个多边形有着不同的区域,就没有必要去比较它们的边和至高点。
原文:For example, suppose you have a Polygon class, and you cache the area. If two polygons have unequal areas, you needn't bother comparing their edges and vertices.
修正:例如,假设有一个Polygon类,并缓存了该面积。如果两个多边形有着不同的面积,就没有必要去比较它们的边和点。
说明:感谢 chzhou 提出,多谢!
时间:2009.06.21 10:50:00已核实

页码:第119页,倒数第2段
原文:Both parameters, s1 and s2, are E producers, so the PECS mnemonic tells us that the declaration should be:
译文:s1和s2这两个参数都是E消费者,因此根据PECS,这个声明应该是:
修正:s1和s2这两个参数都是E生产者,因此根据PECS,这个声明应该是:
说明:感谢 jinlingmin0624 提出,多谢!
时间:2009.07.18 22:00:00已核实

页码:第178页,第3段2行
原文:“A college degree, such as B.S., M.S. or Ph.D.”
译文:“A college degree, such as B.S., M.S., or Ph.D.”
修正:“A college degree, such as B.S., M.S. or Ph.D.”
说明:多了一个,,感谢 jinlingmin0624 提出,多谢!
时间:2009.07.18 22:00:00已核实

页码:第XXX页,第YY段ZZ行
原文:As suggested in Item 58, it may be appropriate for an exception to provide accessor methods for its failure-capture information (lowerBound, upperBound, and index in the above example).
译文:正如第58条中所建议的,为异常的“失败捕获”信息提供一些访问方法是合适的(在上述例子中为lowerBound、upperBound和index)提供一些访问方法是合适的
修正:正如第58条中所建议的,为异常的“失败捕获”信息提供一些访问方法是合适的(上述例子中为lowerBound、upperBound和index)。
说明:编辑错误,删除后面的提供一些访问方法是合适的。感谢 jinlingmin0624 提出,多谢!
时间:2009.07.18 22:00:00已核实

页码:第257页,最后1段1行
原文:If a class that is designed for inheritance is not serializable, it may be impossible to write a serializable subclass.
译文:如果一个专门为了继承而设计的类不是可序列化的,不可能编写出可序列化的子类。
修正:如果一个专门为了继承而设计的类不是可序列化的,或许不可能编写出可序列化的子类。
说明:感谢 jinlingmin0624 提出,多谢!
时间:2009.07.18 22:00:00已核实

页码:第271页,第3段1行
原文:The readResolve feature allows you to substitute another instance for the one created by readObject [Serialization, 3.7].
译文:readResolve特性允许你用readObject创建的实例代替另一个实例[Serialization, 3.7]。
修正:readResolve特性允许你用另一个实例去代替readObject创建的实例[/color][Serialization, 3.7]。
说明:译反了,汗。。。感谢 jinlingmin0624 提出,多谢!
时间:2009.07.18 22:00:00已核实

***************************************************************************
占位贴



英文勘误也增加了好多条了啊,准备抽时间也列出来为中文勘误。
   发表时间:2008-12-19  
是不是要出版了?
0 请登录后投票
   发表时间:2008-12-25  
请不要毁了这本书.
0 请登录后投票
   发表时间:2009-03-01  
勘误列表模板:101页中部
原文:
译文:但是List<String.class和List<?>.class则不合法
修正:但是List<String>.class和List<?>.class则不合法
说明:无
0 请登录后投票
   发表时间:2009-03-22  

勘误:p40页中部
原文:
译文:这时候,你可能期望m.get(new PhoneNumber(408, 867, 5309)会返回“Jeeny"
修正:这时候,你可能期望m.get(new PhoneNumber(707, 867, 5309)会返回“Jeeny"
说明:无

0 请登录后投票
论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics