Skip to content

Commit

Permalink
Fix google#45: Small type
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-voorberg committed Mar 3, 2023
1 parent a821062 commit ce04ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gson/src/main/java/com/google/gson/Gson.java
Expand Up @@ -865,7 +865,7 @@ public void toJson(Object src, Type typeOfSrc, JsonWriter writer) throws JsonIOE
} catch (AssertionError e) {
throw new AssertionError("AssertionError (GSON " + GsonBuildConfig.VERSION + "): " + e.getMessage(), e);
} finally {
writer.setStrictness(strictness);
writer.setStrictness(oldStrictness);
writer.setHtmlSafe(oldHtmlSafe);
writer.setSerializeNulls(oldSerializeNulls);
}
Expand Down

0 comments on commit ce04ac0

Please sign in to comment.