Skip to content

Commit 84d92d0

Browse files
yanglbmeactions-user
authored andcommitted
feat: prettify code
1 parent 3d7a6cb commit 84d92d0

File tree

5 files changed

+361
-340
lines changed

5 files changed

+361
-340
lines changed

.github/pull_request_template.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
### **Describe your change:**
22

3-
4-
5-
* [ ] Add an algorithm?
6-
* [ ] Fix a bug or typo in an existing algorithm?
7-
* [ ] Documentation change?
3+
- [ ] Add an algorithm?
4+
- [ ] Fix a bug or typo in an existing algorithm?
5+
- [ ] Documentation change?
86

97
#### References
8+
109
<!-- Add any reference to previous pull-request or issue -->
1110

1211
### **Checklist:**
12+
1313
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. -->
1414

15-
* [ ] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md).
16-
* [ ] This pull request is all my own work -- I have not plagiarized.
17-
* [ ] I know that pull requests will not be merged if they fail the automated tests.
18-
* [ ] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
19-
* [ ] All new Java files are placed inside an existing directory.
20-
* [ ] All filenames are in all uppercase characters with no spaces or dashes.
21-
* [ ] All functions and variable names follow Java naming conventions.
22-
* [ ] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
23-
* [ ] If this pull request resolves one or more open issues then the commit message contains `Fixes: #{$ISSUE_NO}`.
15+
- [ ] I have read [CONTRIBUTING.md](https://github.com/TheAlgorithms/Java/blob/master/CONTRIBUTING.md).
16+
- [ ] This pull request is all my own work -- I have not plagiarized.
17+
- [ ] I know that pull requests will not be merged if they fail the automated tests.
18+
- [ ] This PR only changes one algorithm file. To ease review, please open separate PRs for separate algorithms.
19+
- [ ] All new Java files are placed inside an existing directory.
20+
- [ ] All filenames are in all uppercase characters with no spaces or dashes.
21+
- [ ] All functions and variable names follow Java naming conventions.
22+
- [ ] All new algorithms have a URL in its comments that points to Wikipedia or other similar explanation.
23+
- [ ] If this pull request resolves one or more open issues then the commit message contains `Fixes: #{$ISSUE_NO}`.

CONTRIBUTING.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,26 @@
44

55
#### **Did you find a bug?**
66

7-
* **Ensure the bug was not already reported** by searching on GitHub under [Project Issues](https://github.com/TheAlgorithms/Java/issues).
7+
- **Ensure the bug was not already reported** by searching on GitHub under [Project Issues](https://github.com/TheAlgorithms/Java/issues).
88

9-
* Please avoid opening issues asking to be "assigned” to a particular algorithm. This merely creates unnecessary noise for maintainers. Instead, please submit your implementation in a pull request and it will be evaluated by project maintainers.
9+
- Please avoid opening issues asking to be "assigned” to a particular algorithm. This merely creates unnecessary noise for maintainers. Instead, please submit your implementation in a pull request and it will be evaluated by project maintainers.
1010

11-
* If you are unable to find an open issue refering to the same problem, depending on the type of issue follow the appropriate steps:
11+
- If you are unable to find an open issue refering to the same problem, depending on the type of issue follow the appropriate steps:
1212

1313
#### **Do you want to contribute to the documentation?**
1414

15-
* Please read the documentation in here [Contributing to the Documentation]() ,[open a new one issue](https://github.com/TheAlgorithms/Java/issues/new), make changes and then create a pull request, it will be put under review and accepted if it is approprite.
15+
- Please read the documentation in here [Contributing to the Documentation]() ,[open a new one issue](https://github.com/TheAlgorithms/Java/issues/new), make changes and then create a pull request, it will be put under review and accepted if it is approprite.
1616

1717
#### **Do you want to add a new feature?**
18-
* [Open a new one issue](https://github.com/TheAlgorithms/Java/issues/new). Be sure to include a **title and a clear description** and a **test case** demonstrating the new feature that you want to add to the project.
18+
19+
- [Open a new one issue](https://github.com/TheAlgorithms/Java/issues/new). Be sure to include a **title and a clear description** and a **test case** demonstrating the new feature that you want to add to the project.
1920

2021
#### **Do you want to fix a bug?**
21-
* [Open a new one issue](https://github.com/TheAlgorithms/Java/issues/new).Be sure to include a **title and a clear description** and a **test case** demonstrating the expected behaviour that is not occuring.
22+
23+
- [Open a new one issue](https://github.com/TheAlgorithms/Java/issues/new).Be sure to include a **title and a clear description** and a **test case** demonstrating the expected behaviour that is not occuring.
2224

2325
#### **Do you have questions about the source code?**
2426

25-
* Ask any question about how to use the repository in the [TheAlgorithms room in GITTER](https://gitter.im/TheAlgorithms/community?source=orgpage#) or [open a new one issue](https://github.com/TheAlgorithms/Java/issues/new)
27+
- Ask any question about how to use the repository in the [TheAlgorithms room in GITTER](https://gitter.im/TheAlgorithms/community?source=orgpage#) or [open a new one issue](https://github.com/TheAlgorithms/Java/issues/new)
2628

2729
:+1::tada: That's all you need to know about the process now it's your turn to help us improve the repository, thank you again! :+1::tada:

0 commit comments

Comments
 (0)