Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudhramanan committed Nov 30, 2017
1 parent 5d81b61 commit 6a33d3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ public class JsonAdapterExample {


@SerializedName("alternate_model")
@JsonAdapter(value = com.vimeo.sample_model.stag.generated.Stag.Factory.class)
// @JsonAdapter(value = com.vimeo.sample_model.stag.generated.Stag.Factory.class)
public com.vimeo.sample_model.AlternateNameModel mRunTimeExample;


@SerializedName("alternate_model1")
@JsonAdapter(value = com.vimeo.sample_model.AlternateNameModel$TypeAdapter.class)
// @JsonAdapter(value = com.vimeo.sample_model.AlternateNameModel$TypeAdapter.class)
public com.vimeo.sample_model.AlternateNameModel mRunTimeExample1;

@SerializedName("user")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private static String getInitializationCodeForKnownJsonAdapterType(@NotNull Exec
for (VariableElement parameter : adapterType.getParameters()) {
if (parameter.asType().toString().equals(TypeUtils.className(Gson.class))) {
constructorParameters.add("gson");
constructorParameters.add("new " + classInfo.getPackageName() + ".stag.generated.Stag.Factory()");
// constructorParameters.add("new " + classInfo.getPackageName() + ".stag.generated.Stag.Factory()");
}
}
}
Expand Down

0 comments on commit 6a33d3e

Please sign in to comment.