Skip to content

Commit 111015d

Browse files
committed
format code
1 parent 9f132f4 commit 111015d

File tree

123 files changed

+1098
-1082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+1098
-1082
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A clear and concise description of what the bug is.
1212

1313
**To Reproduce**
1414
Steps to reproduce the behavior:
15+
1516
1. Go to '...'
1617
2. Click on '....'
1718
3. Scroll down to '....'
@@ -24,15 +25,17 @@ A clear and concise description of what you expected to happen.
2425
If applicable, add screenshots to help explain your problem.
2526

2627
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
28+
29+
- OS: [e.g. iOS]
30+
- Browser [e.g. chrome, safari]
31+
- Version [e.g. 22]
3032

3133
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
34+
35+
- Device: [e.g. iPhone6]
36+
- OS: [e.g. iOS8.1]
37+
- Browser [e.g. stock browser, safari]
38+
- Version [e.g. 22]
3639

3740
**Additional context**
3841
Add any other context about the problem here.

.github/PULL_REQUEST_TEMPLATE.md

-3
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55

66
### Describe what this PR does / why we need it
77

8-
98
### Does this pull request fix one issue?
109

1110
<!--If that, add "Fixes #xxxx" below in the next line. For example, Fixes #15. Otherwise, add "NONE" -->
1211

1312
### Describe how you did it
1413

15-
1614
### Describe how to verify it
1715

18-
1916
### Special notes for reviews

.mvn/wrapper/MavenWrapperDownloader.java

+6-5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
import java.net.*;
1718
import java.io.*;
1819
import java.nio.channels.*;
@@ -25,7 +26,7 @@ public class MavenWrapperDownloader {
2526
* Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided.
2627
*/
2728
private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/"
28-
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
29+
+ WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar";
2930

3031
/**
3132
* Path to the maven-wrapper.properties file, which might contain a downloadUrl property to
@@ -54,7 +55,7 @@ public static void main(String args[]) {
5455
// wrapperUrl parameter.
5556
File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
5657
String url = DEFAULT_DOWNLOAD_URL;
57-
if(mavenWrapperPropertyFile.exists()) {
58+
if (mavenWrapperPropertyFile.exists()) {
5859
FileInputStream mavenWrapperPropertyFileInputStream = null;
5960
try {
6061
mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile);
@@ -65,7 +66,7 @@ public static void main(String args[]) {
6566
System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'");
6667
} finally {
6768
try {
68-
if(mavenWrapperPropertyFileInputStream != null) {
69+
if (mavenWrapperPropertyFileInputStream != null) {
6970
mavenWrapperPropertyFileInputStream.close();
7071
}
7172
} catch (IOException e) {
@@ -76,8 +77,8 @@ public static void main(String args[]) {
7677
System.out.println("- Downloading from: " + url);
7778

7879
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH);
79-
if(!outputFile.getParentFile().exists()) {
80-
if(!outputFile.getParentFile().mkdirs()) {
80+
if (!outputFile.getParentFile().exists()) {
81+
if (!outputFile.getParentFile().mkdirs()) {
8182
System.out.println(
8283
"- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'");
8384
}

CODE_OF_CONDUCT.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ members of the project's leadership.
6868
## Attribution
6969

7070
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71-
available at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
71+
available
72+
at [https://www.contributor-covenant.org/version/1/4/code-of-conduct.html](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html)
7273

7374
[homepage]: https://www.contributor-covenant.org

CONTRIBUTING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ The final commit message should be clear and concise.
4646

4747
### Open an issue / PR
4848

49-
We use [GitHub Issues](https://github.com/codingapi/springboot-framework/issues) and [Pull Requests](https://github.com/codingapi/springboot-framework/pulls) for trackers.
49+
We use [GitHub Issues](https://github.com/codingapi/springboot-framework/issues)
50+
and [Pull Requests](https://github.com/codingapi/springboot-framework/pulls) for trackers.
5051

5152
If you find a typo in document, find a bug in code, or want new features, or want to give suggestions,
5253
you can [open an issue on GitHub](https://github.com/codingapi/springboot-framework/issues/new) to report it.

README.md

+18-8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
本框架基于springboot为提供领域驱动设计与事件风暴开发落地,提供的范式开源框架。
1111

1212
## maven install
13+
1314
```
1415
<dependency>
1516
<groupId>com.codingapi.springboot</groupId>
@@ -43,15 +44,18 @@ If you find something incorrect or missing, please leave comments / suggestions.
4344

4445
[CONTRIBUTING](./CONTRIBUTING.md)
4546

46-
4747
## example
48+
4849
见springboot-example 完善中...
4950

5051
## youtube|哔哩哔哩
51-
欢迎订阅我的youtube账号 [codingapi](https://www.youtube.com/channel/UCdAsCAxh453D7MfLfYWj0Eg), 哔哩哔哩账号[vip_lorne](https://space.bilibili.com/386239614) 带你从0到1落地springboot与领域驱动设计
52+
53+
欢迎订阅我的youtube账号 [codingapi](https://www.youtube.com/channel/UCdAsCAxh453D7MfLfYWj0Eg),
54+
哔哩哔哩账号[vip_lorne](https://space.bilibili.com/386239614) 带你从0到1落地springboot与领域驱动设计
5255

5356
领域驱动设计001--了解为什么采用领域驱动设计开发 [YouTube](https://www.youtube.com/watch?v=09uP_sMvhY8) [哔哩哔哩](https://www.bilibili.com/video/BV1WB4y157kv)
54-
领域驱动设计002--SpringBoot DDD Example HelloWorld [YouTube](https://www.youtube.com/watch?v=d7LnYy8rTYI&t=149s) [哔哩哔哩](https://www.bilibili.com/video/BV1qU4y1k7DV)
57+
领域驱动设计002--SpringBoot DDD Example
58+
HelloWorld [YouTube](https://www.youtube.com/watch?v=d7LnYy8rTYI&t=149s) [哔哩哔哩](https://www.bilibili.com/video/BV1qU4y1k7DV)
5559
领域驱动设计003--事件风暴 [YouTube](https://www.youtube.com/watch?v=EiMvgIKT46I) [哔哩哔哩](https://www.bilibili.com/video/BV1tG41147AU)
5660
领域驱动设计004--领域边界 [YouTube](https://www.youtube.com/watch?v=l80I3LkvGdE) [哔哩哔哩](https://www.bilibili.com/video/BV1Za411d78d)
5761
领域驱动设计005--统一模型语言UML [YouTube](https://www.youtube.com/watch?v=FESDalckNQ4) [哔哩哔哩](https://www.bilibili.com/video/BV1gg411D7oe)
@@ -62,13 +66,14 @@ If you find something incorrect or missing, please leave comments / suggestions.
6266
领域驱动设计008--模型集成01 [YouTube](https://www.youtube.com/watch?v=lmLFHGxkL1g) [哔哩哔哩](https://www.bilibili.com/video/BV14P411V7kS)
6367
领域驱动设计008--模型集成02 [YouTube](https://www.youtube.com/watch?v=1A2OUn26sMc) [哔哩哔哩](https://www.bilibili.com/video/BV1DD4y167ea)
6468
领域驱动设计009--过程讲解
65-
领域驱动设计010--回顾总结
66-
69+
领域驱动设计010--回顾总结
6770

6871
## books
72+
6973
实战书籍正在编写中...
7074

7175
## 推荐DDD的三个理由
76+
7277
* 业务逻辑可视化
7378
* 灵活的业务拓展性
7479
* 轻量化的业务单元测试
@@ -82,13 +87,18 @@ If you find something incorrect or missing, please leave comments / suggestions.
8287
* 集成业务
8388

8489
## 推荐的框架与软件
85-
### SpringJPA
90+
91+
### SpringJPA
92+
8693
JPA是ORM框架,可以非常简单的与领域对象相关联。 https://spring.io/projects/spring-data-jpa
94+
8795
### StartUML
96+
8897
StartUML是UML设计软件。https://staruml.io/
98+
8999
### Mural
90-
Mural 是用于画事件风暴图的软件。https://www.mural.co/
91100

101+
Mural 是用于画事件风暴图的软件。https://www.mural.co/
92102

93103
## Reference Documentation
94104

@@ -102,5 +112,5 @@ For further reference, please consider the following sections:
102112
* [Spring Web](https://docs.spring.io/spring-boot/docs/2.7.1/reference/htmlsingle/#web)
103113
* [securing-web](https://spring.io/guides/gs/securing-web/)
104114
* [spring-security-without-the-websecurityconfigureradapter](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter)
105-
* [springboot-security&jwt](https://blog.csdn.net/u014553029/article/details/112759382)
115+
* [springboot-security&jwt](https://blog.csdn.net/u014553029/article/details/112759382)
106116
* [Meituan-Dianping/Leaf](https://github.com/Meituan-Dianping/Leaf)

0 commit comments

Comments
 (0)