Skip to content

Commit 0c08ac9

Browse files
committed
Update README.md
I removed the unessential lines. Thanks for your advice.
1 parent 495de18 commit 0c08ac9

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,14 +148,7 @@ interface GitHub {
148148
public static void main(String... args) {
149149
GitHub github = Feign.builder()
150150
.contract(new JAXRSModule.JAXRSContract())
151-
.decoder(new GsonDecoder())
152151
.target(GitHub.class, "https://api.github.com");
153-
154-
// Fetch and print a list of the contributors to this library.
155-
List<Contributor> contributors = github.contributors("netflix", "feign");
156-
for (Contributor contributor : contributors) {
157-
System.out.println(contributor.login + " (" + contributor.contributions + ")");
158-
}
159152
}
160153
```
161154
### Ribbon

0 commit comments

Comments
 (0)