Skip to content

Commit 8117fcf

Browse files
committed
Updating code style guide
1 parent 99c1540 commit 8117fcf

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ Pull requests eventually need to resolve to a single commit. The commit log shou
1717
* The unreleased minor version is often a good default.
1818

1919
## Code Style
20-
When submitting code, please ensure you follow the [Google Style Guide](https://google.github.io/styleguide/javaguide.html). For example, you can format code with IntelliJ 13 using [this file](https://google.github.io/styleguide/intellij-java-google-style.xml) and with IntelliJ 15 using [this file](https://raw.githubusercontent.com/garukun/styleguide/add-intellij-15-java/intellij-15-java-google-style.xml).
20+
21+
When submitting code, please use the feign code format conventions. If you use Eclipse `m2eclipse` should take care of all settings automatically.
22+
You can also import formatter settings using the [`eclipse-java-style.xml`](https://github.com/OpenFeign/feign/blob/master/src/config/eclipse-java-style.xml) file.
23+
If using IntelliJ IDEA, you can use the [Eclipse Code Formatter Plugin](http://plugins.jetbrains.com/plugin/6546) to import the same file.
2124

2225
## License
2326

core/src/test/java/feign/client/TrustingSSLSocketFactory.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import java.util.Arrays;
2727
import java.util.LinkedHashMap;
2828
import java.util.Map;
29-
3029
import javax.net.ssl.*;
3130

3231
/**

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@
448448
<version>2.2.0</version>
449449
<configuration>
450450
<lineEnding>LF</lineEnding>
451-
<configFile>${main.basedir}/src/config/eclipse-java-google-style.xml</configFile>
451+
<configFile>${main.basedir}/src/config/eclipse-java-style.xml</configFile>
452452
</configuration>
453453
<executions>
454454
<execution>

0 commit comments

Comments
 (0)