You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.adoc
+15
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,21 @@ something, or simply want to hack on the code this document should help you get
7
7
This project adheres to the Contributor Covenant link:CODE_OF_CONDUCT.adoc[code of conduct].
8
8
By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected].
9
9
10
+
=== Code Conventions and Housekeeping
11
+
12
+
None of these is essential for a pull request, but they will all help. They can also be
13
+
added after the original pull request but before a merge.
14
+
15
+
* Use the Spring Data code format conventions. If you use Eclipse you can import formatter settings using the `eclipse-code-formatter.xml` file from the https://raw.githubusercontent.com/spring-projects/spring-data-build/master/etc/ide/eclipse-formatting.xml[Spring Data Build] project. If using IntelliJ, you can use the http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter Plugin] to import the same file.
16
+
* Make sure all new `.java` files to have a simple Javadoc class comment with at least an `@author` tag identifying you, and preferably at least a paragraph on what the class is for.
17
+
* Add the ASF license header comment to all new `.java` files (copy from existing files in the project)
18
+
* Add yourself as an `@author` to the .java files that you modify substantially (more than cosmetic changes).
19
+
* Add some Javadocs and, if you change the namespace, some XSD doc elements.
20
+
* A few unit tests would help a lot as well -- someone has to do it.
21
+
* If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project).
22
+
* When writing a commit message please follow http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions], if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit message (where XXXX is the issue number).
23
+
* By the way, any contributions are likely to be polished. Don't worry! Just use it as a learning experience as you are slowly jürgenized.
24
+
10
25
== Using GitHub issues
11
26
12
27
We use GitHub issues to track bugs and enhancements. If you have a general usage question
0 commit comments