From 1fb5820fd18f2f900702c99dd5295f2576a28196 Mon Sep 17 00:00:00 2001 From: wayrt7 Date: Fri, 5 Jan 2024 08:21:48 +0800 Subject: [PATCH 1/2] fix url --- CONTRIBUTING.md | 8 ++++---- LICENSE | 2 +- README.md | 18 +++++++++--------- book.json | 4 ++-- docs/README.md | 6 +++--- docs/_coverpage.md | 6 +++--- docs/book/00-On-Java-8.md | 2 +- ...02-Installing-Java-and-the-Book-Examples.md | 2 +- docs/book/19-Type-Information.md | 2 +- docs/book/24-Concurrent-Programming.md | 2 +- docs/index.html | 2 +- 11 files changed, 27 insertions(+), 27 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 907a705a..9b8477c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,8 +1,8 @@ ## 如何贡献项目 -领取或创建新的 [Issue](https://github.com/lingcoder/OnJava8/issues),如 [issue 14](https://github.com/lingcoder/OnJava8/issues/14) ,在编辑栏的右侧添加自己为 `Assignee`。 +领取或创建新的 [Issue](https://github.com/wayrt7/OnJava8/issues),如 [issue 14](https://github.com/wayrt7/OnJava8/issues/14) ,在编辑栏的右侧添加自己为 `Assignee`。 -在 [GitHub](https://github.com/lingcoder/OnJava8/fork) 上 `fork` 项目到自己的仓库,你的如 `user_name/OnJava8`,然后 `clone` 到本地,并设置用户信息。 +在 [GitHub](https://github.com/wayrt7/OnJava8/fork) 上 `fork` 项目到自己的仓库,你的如 `user_name/OnJava8`,然后 `clone` 到本地,并设置用户信息。 ```bash $ git clone git@github.com:user_name/OnJava8.git @@ -22,12 +22,12 @@ $ git commit -a -s $ git push ``` -在 [GitHub](https://github.com/lingcoder/OnJava8/pulls) 上提交 `Pull Request`,添加标签,并邀请维护者进行 `Review`。 +在 [GitHub](https://github.com/wayrt7/OnJava8/pulls) 上提交 `Pull Request`,添加标签,并邀请维护者进行 `Review`。 定期使用源项目仓库内容同步更新自己仓库的内容。 ```bash -$ git remote add upstream https://github.com/lingcoder/OnJava8 +$ git remote add upstream https://github.com/wayrt7/OnJava8 $ git fetch upstream diff --git a/LICENSE b/LICENSE index 629e38d0..373ec1c5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2018 LingCoder +Copyright (c) 2018 wayrt7 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 9e9e83bd..28ca9571 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ ## 传送门 -- 目录阅读:[进入](https://github.com/LingCoder/OnJava8/blob/master/SUMMARY.md) +- 目录阅读:[进入](https://github.com/wayrt7/OnJava8/blob/master/SUMMARY.md) -- GitHub Pages 完整阅读:[进入](https://lingcoder.github.io/OnJava8/) +- GitHub Pages 完整阅读:[进入](https://wayrt7.github.io/OnJava8/) -- Gitee Pages 完整阅读:[进入](https://lingcoder.gitee.io/onjava8/) +- Gitee Pages 完整阅读:[进入](https://wayrt7.gitee.io/onjava8/) ## 翻译进度 @@ -61,10 +61,10 @@ ## 一起交流 -交流群:721698221 OnJava8翻译交流( 点击图标即可加入 )
加群时请简单备注下来源或说明 +交流群:721698221 OnJava8翻译交流( 点击图标即可加入 )
加群时请简单备注下来源或说明
-QQGroupQRCode +QQGroupQRCode
## 大事记 @@ -74,7 +74,7 @@ ## 原书资料
-cover_small +cover_small
- 作者: Bruce Eckel @@ -89,9 +89,9 @@ ## 贡献者 -- 主译:[LingCoder](https://github.com/LingCoder),[sjsdfg](https://github.com/sjsdfg),[xiangflight](https://github.com/xiangflight) +- 主译:[wayrt7](https://github.com/wayrt7),[sjsdfg](https://github.com/sjsdfg),[xiangflight](https://github.com/xiangflight) - 参译:[Langdon-Chen](https://github.com/Langdon-Chen),[1326670425](https://github.com/1326670425),[LortSir](https://github.com/LortSir) -- 校对:[LingCoder](https://github.com/LingCoder),[jason31520](https://github.com/jason31520),[xiangflight](https://github.com/xiangflight),[nickChenyx](https://github.com/nickChenyx) +- 校对:[wayrt7](https://github.com/wayrt7),[jason31520](https://github.com/jason31520),[xiangflight](https://github.com/xiangflight),[nickChenyx](https://github.com/nickChenyx) ## 翻译说明 @@ -120,4 +120,4 @@ ## 联系方式 -- E-mail : +- E-mail : diff --git a/book.json b/book.json index 36f77afe..dd4c4a4f 100644 --- a/book.json +++ b/book.json @@ -1,6 +1,6 @@ { "title": "《On Java 8》中文版", - "author": "LingCoder", + "author": "wayrt7", "description": "", "language": "zh-hans", "gitbook": "3.2.3", @@ -24,7 +24,7 @@ ], "pluginsConfig": { "edit-link": { - "base": "https://github.com/lingcoder/OnJava8/edit/master", + "base": "https://github.com/wayrt7/OnJava8/edit/master", "label": "Edit This Page" } } diff --git a/docs/README.md b/docs/README.md index d51ce131..57331616 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,8 +1,8 @@ # 译者的话 -[![GitHub stars](https://img.shields.io/github/stars/lingcoder/OnJava8.svg?style=social&label=Star&)](https://github.com/lingcoder/OnJava8/stargazers)[![GitHub forks](https://img.shields.io/github/forks/lingcoder/OnJava8.svg?style=social&label=Fork&)](https://github.com/lingcoder/OnJava8/fork) +[![GitHub stars](https://img.shields.io/github/stars/wayrt7/OnJava8.svg?style=social&label=Star&)](https://github.com/wayrt7/OnJava8/stargazers)[![GitHub forks](https://img.shields.io/github/forks/wayrt7/OnJava8.svg?style=social&label=Fork&)](https://github.com/wayrt7/OnJava8/fork) -本翻译项目的 GITHUB 开源地址:[https://github.com/LingCoder/OnJava8](https://github.com/LingCoder/OnJava8) +本翻译项目的 GITHUB 开源地址:[https://github.com/wayrt7/OnJava8](https://github.com/wayrt7/OnJava8) 如果你在阅读本书的过程中有发现不明白或者错误的地方,请随时到项目地址发布 issue 或者 fork 项目后发布 pr 帮助译者改善!不胜感激! @@ -38,6 +38,6 @@ ## 联系方式 -- E-mail : +- E-mail : diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 68c3bf2f..60ee5d96 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,11 +1,11 @@ - + # On Java 8 - 《On Java 8》中文版。 -[![stars](https://badgen.net/github/stars/lingcoder/OnJava8?icon=github&color=4ab8a1)](https://github.com/lingcoder/OnJava8) [![forks](https://badgen.net/github/forks/lingcoder/OnJava8?icon=github&color=4ab8a1)](https://github.com/lingcoder/OnJava8) +[![stars](https://badgen.net/github/stars/wayrt7/OnJava8?icon=github&color=4ab8a1)](https://github.com/wayrt7/OnJava8) [![forks](https://badgen.net/github/forks/wayrt7/OnJava8?icon=github&color=4ab8a1)](https://github.com/wayrt7/OnJava8) 👁️本页总访问次数: @@ -14,7 +14,7 @@ | 🧑总访客数: -[GitHub](https://github.com/lingcoder/onJava8/) +[GitHub](https://github.com/wayrt7/onJava8/) [Get Started](sidebar.md) diff --git a/docs/book/00-On-Java-8.md b/docs/book/00-On-Java-8.md index a7d91f09..002194b9 100644 --- a/docs/book/00-On-Java-8.md +++ b/docs/book/00-On-Java-8.md @@ -1,5 +1,5 @@
- cover + cover
diff --git a/docs/book/02-Installing-Java-and-the-Book-Examples.md b/docs/book/02-Installing-Java-and-the-Book-Examples.md index 8de3ce6b..f30b478a 100644 --- a/docs/book/02-Installing-Java-and-the-Book-Examples.md +++ b/docs/book/02-Installing-Java-and-the-Book-Examples.md @@ -114,7 +114,7 @@ Mac 系统自带的 Java 版本太老,为了确保本书的代码示例能被 brew install --cask java ``` -> 译者注:原有命令为 `brew cask install java`。原有命令已经被禁用。具体内容可看 https://github.com/LingCoder/OnJava8/issues/642 +> 译者注:原有命令为 `brew cask install java`。原有命令已经被禁用。具体内容可看 https://github.com/wayrt7/OnJava8/issues/642 当以上安装都完成后,如果你有需要,可以使用游客账户来运行本书中的代码示例。 diff --git a/docs/book/19-Type-Information.md b/docs/book/19-Type-Information.md index 6c51d949..6d2a177d 100755 --- a/docs/book/19-Type-Information.md +++ b/docs/book/19-Type-Information.md @@ -1348,7 +1348,7 @@ x.getClass().equals(Derived.class)) true ### 类方法提取器 -通常,你不会直接使用反射工具,但它们可以帮助你创建更多的动态代码。反射是用来支持其他 Java 特性的,例如对象序列化(参见[附录:对象序列化](https://lingcoder.github.io/OnJava8/#/book/Appendix-Object-Serialization))。但是,有时动态提取有关类的信息很有用。 +通常,你不会直接使用反射工具,但它们可以帮助你创建更多的动态代码。反射是用来支持其他 Java 特性的,例如对象序列化(参见[附录:对象序列化](https://wayrt7.github.io/OnJava8/#/book/Appendix-Object-Serialization))。但是,有时动态提取有关类的信息很有用。 考虑一个类方法提取器。查看类定义的源代码或 JDK 文档,只显示*在该类定义中*定义或重写的方法。但是,可能还有几十个来自基类的可用方法。找到它们既单调又费时[^1]。幸运的是,反射提供了一种方法,可以简单地编写一个工具类自动地向你展示所有的接口: diff --git a/docs/book/24-Concurrent-Programming.md b/docs/book/24-Concurrent-Programming.md index 0703d281..427b15dd 100755 --- a/docs/book/24-Concurrent-Programming.md +++ b/docs/book/24-Concurrent-Programming.md @@ -24,7 +24,7 @@ 本章是对并发概念最基本的介绍。虽然我们用到了现代的 Java 8 工具来演示原理,但还远未及全面论述并发。我的目标是为你提供足够的基础知识,使你能够把握问题的复杂性和危险性,从而安全地渡过这片鲨鱼肆虐的困难水域。 -更多繁琐和底层的细节,请参阅附录:[并发底层原理](https://github.com/LingCoder/OnJava8/blob/master/docs/book/Appendix-Low-Level-Concurrency.md)。要进一步深入这个领域,你还必须阅读 *Brian Goetz* 等人的 《Java Concurrency in Practice》。在撰写本文时,该书已有十多年的历史了,但它仍包含我们必须要了解和明白的知识要点。理想情况下,本章和上述附录是阅读该书的良好前提。另外,*Bill Venner* 的 《Inside the Java Virtual Machine》也很值得一看。它详细描述了包括线程在内的 JVM 的内部工作方式。 +更多繁琐和底层的细节,请参阅附录:[并发底层原理](https://github.com/wayrt7/OnJava8/blob/master/docs/book/Appendix-Low-Level-Concurrency.md)。要进一步深入这个领域,你还必须阅读 *Brian Goetz* 等人的 《Java Concurrency in Practice》。在撰写本文时,该书已有十多年的历史了,但它仍包含我们必须要了解和明白的知识要点。理想情况下,本章和上述附录是阅读该书的良好前提。另外,*Bill Venner* 的 《Inside the Java Virtual Machine》也很值得一看。它详细描述了包括线程在内的 JVM 的内部工作方式。 ## 术语问题 diff --git a/docs/index.html b/docs/index.html index a19f3ccd..695e43ac 100755 --- a/docs/index.html +++ b/docs/index.html @@ -349,7 +349,7 @@ > window.$docsify = { name: '《On Java 8》中文版', - repo: 'https://github.com/LingCoder/OnJava8', + repo: 'https://github.com/wayrt7/OnJava8', loadSidebar: 'sidebar.md', // subMaxLevel: 3, search: { From 4695856ece737da8a45df6d3a4cf3eb34be8be0a Mon Sep 17 00:00:00 2001 From: wayrt7 Date: Fri, 5 Jan 2024 08:31:18 +0800 Subject: [PATCH 2/2] remove ad --- README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/README.md b/README.md index 28ca9571..d50f172c 100644 --- a/README.md +++ b/README.md @@ -59,13 +59,6 @@ - [ ] [附录:成为一名程序员](docs/book/Appendix-Becoming-a-Programmer.md) -## 一起交流 - -交流群:721698221 OnJava8翻译交流( 点击图标即可加入 )
加群时请简单备注下来源或说明 - -
-QQGroupQRCode -
## 大事记 @@ -74,7 +67,7 @@ ## 原书资料
-cover_small +cover_small
- 作者: Bruce Eckel

AltStyle によって変換されたページ (->オリジナル) /