From 60e273c4f7d405e2d7a336780438af5f5d79657a Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 10 Apr 2018 11:15:50 +0200 Subject: [PATCH] add reference to Spring Framework's code style in CONTRIBUTING.md --- CONTRIBUTING.md | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d94aa306..b438028c5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -95,20 +95,9 @@ This command, will provide the following output, which in this case shows a nice ```` If you see intersecting lines, that usually means that you forgot to rebase you branch. As mentioned earlier, **please rebase against master** before issuing a pull request. -## Mind the whitespace +## Code style -Please carefully follow the whitespace and formatting conventions already present in the framework. - -1. Tabs, not spaces -2. Unix (LF), not DOS (CRLF) line endings -3. Eliminate all trailing whitespace -4. Wrap Javadoc at 90 characters -5. Aim to wrap code at 90 characters, but favor readability over wrapping -6. Preserve existing formatting; i.e. do not reformat code for its own sake -7. Search the codebase using `git grep` and other tools to discover common - naming conventions, etc. -8. Latin-1 (ISO-8859-1) encoding for Java sources; use `native2ascii` to convert - if necessary +Please carefully follow the same [code style as Spring Framework](https://github.com/spring-projects/spring-framework/wiki/Code-Style). ## Add Apache license header to all new classes