- fix source/target java version to 1.6

- add test profile for CI
This commit is contained in:
Emiliano Bonassi
2015-11-10 12:30:13 +01:00
parent 3a7204d66c
commit 47f4396fb7
5 changed files with 15 additions and 15 deletions
@@ -330,7 +330,7 @@ class GsonCustomConverterFactory extends Converter.Factory
@Override
public Converter<ResponseBody, ?> fromResponseBody(Type type, Annotation[] annotations) {
if(type.equals(String.class))
return new GsonResponseBodyConverterToString<>(gson, type);
return new GsonResponseBodyConverterToString<Object>(gson, type);
else
return gsonConverterFactory.fromResponseBody(type, annotations);
}