From 8df287501de675e800911b9fa1d2031099b1df9f Mon Sep 17 00:00:00 2001 From: XuYanxin Date: Fri, 13 Mar 2020 13:58:23 +0800 Subject: [PATCH] fix ojb -> obj (#402) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 忽路->忽略 * 修复跳转链接错误 * fix Class.getInterface() -> Class.getInterfaces() * 否者 -> 否则 * 编译期 -> 编译器 ,原文"the compiler will only allow you to say that the superclass reference is “some class that is a superclass of FancyToy” a" * ierator -> iterator * nextint -> nextInt * fix 这句翻译第一反应没太看懂,结合原文和下面的例子优化了一下翻译 * fix ojb -> obj --- docs/book/20-Generics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/20-Generics.md b/docs/book/20-Generics.md index b03c5e6..6b0c051 100644 --- a/docs/book/20-Generics.md +++ b/docs/book/20-Generics.md @@ -1409,7 +1409,7 @@ class Manipulator3 { private HasF obj; Manipulator3(HasF x) { - ojb = x; + obj = x; } public void manipulate() {