Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
189d926c
Commit
189d926c
authored
May 09, 2017
by
Luke Tornquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct import order
parent
d993fe21
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
19 deletions
+24
-19
SpringDecoder.java
...gframework/cloud/netflix/feign/support/SpringDecoder.java
+12
-11
SpringDecoderTests.java
...ringframework/cloud/netflix/feign/SpringDecoderTests.java
+12
-8
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/support/SpringDecoder.java
View file @
189d926c
...
...
@@ -16,16 +16,7 @@
package
org
.
springframework
.
cloud
.
netflix
.
feign
.
support
;
import
feign.FeignException
;
import
feign.Response
;
import
feign.codec.DecodeException
;
import
feign.codec.Decoder
;
import
org.springframework.beans.factory.ObjectFactory
;
import
org.springframework.boot.autoconfigure.web.HttpMessageConverters
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.http.client.ClientHttpResponse
;
import
org.springframework.web.client.HttpMessageConverterExtractor
;
import
static
org
.
springframework
.
cloud
.
netflix
.
feign
.
support
.
FeignUtils
.
getHttpHeaders
;
import
java.io.IOException
;
import
java.io.InputStream
;
...
...
@@ -33,7 +24,17 @@ import java.lang.reflect.ParameterizedType;
import
java.lang.reflect.Type
;
import
java.lang.reflect.WildcardType
;
import
static
org
.
springframework
.
cloud
.
netflix
.
feign
.
support
.
FeignUtils
.
getHttpHeaders
;
import
org.springframework.beans.factory.ObjectFactory
;
import
org.springframework.boot.autoconfigure.web.HttpMessageConverters
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.http.client.ClientHttpResponse
;
import
org.springframework.web.client.HttpMessageConverterExtractor
;
import
feign.FeignException
;
import
feign.Response
;
import
feign.codec.DecodeException
;
import
feign.codec.Decoder
;
/**
* @author Spencer Gibb
...
...
spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/feign/SpringDecoderTests.java
View file @
189d926c
...
...
@@ -16,9 +16,15 @@
package
org
.
springframework
.
cloud
.
netflix
.
feign
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertNotNull
;
import
static
org
.
junit
.
Assert
.
assertNull
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -37,11 +43,9 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Map
;
import
static
org
.
junit
.
Assert
.*;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @author Spencer Gibb
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment