Skip to content

Commit

Permalink
Minor documentation changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Jul 29, 2023
1 parent f358319 commit 410d1b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ If you cannot switch the classes you are using, see the library-specific solutio

</details>

**Important:** Verify carefully that these `TypeAdapterFactory` classes work as expected for your use case and produce the desired JSON data or parse the JSON data without issues. There might be corner cases where they behave slightly differently than Gson's reflection-based adapter, respectively behave differently than the other JSON library would behave.
**Important:** Verify carefully that these solutions work as expected for your use case and produce the desired JSON data or parse the JSON data without issues. There might be corner cases where they behave slightly differently than Gson's reflection-based adapter, respectively behave differently than the other JSON library would behave.
## <a id="android-app-random-names"></a> Android app not working in Release mode; random property names
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
* {@code TypeAdapterFactory} which throws an exception when trying to serialize or
* deserialize unsupported classes from third-party JSON libraries.
*
* <p>This is mainly intended as help for users who accidentally mix Gson and non-Gson
* code and are then surprised by unexpected JSON data or issues when trying to
* deserialize the JSON data.
* <p>This is mainly intended as help for users who accidentally mix Gson and other
* JSON libraries and are then surprised by unexpected JSON data or issues when trying
* to deserialize the JSON data.
*/
public class UnsupportedJsonLibraryTypeAdapterFactory implements TypeAdapterFactory {
public static final UnsupportedJsonLibraryTypeAdapterFactory INSTANCE = new UnsupportedJsonLibraryTypeAdapterFactory();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ public String toString() {
}

private abstract static class JsonOrgBaseSubject extends Subject {

protected JsonOrgBaseSubject(FailureMetadata metadata, @Nullable Object actual) {
super(metadata, actual);
}
Expand Down

0 comments on commit 410d1b7

Please sign in to comment.