Skip to content

Commit

Permalink
Fix inverted docs in ExclusionStrategy.
Browse files Browse the repository at this point in the history
  • Loading branch information
swankjesse committed Jun 4, 2014
1 parent a411a76 commit c6752fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gson/src/main/java/com/google/gson/ExclusionStrategy.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
/**
* A strategy (or policy) definition that is used to decide whether or not a field or top-level
* class should be serialized or deserialized as part of the JSON output/input. For serialization,
* if the {@link #shouldSkipClass(Class)} method returns false then that class or field type
* if the {@link #shouldSkipClass(Class)} method returns true then that class or field type
* will not be part of the JSON output. For deserialization, if {@link #shouldSkipClass(Class)}
* returns false, then it will not be set as part of the Java object structure.
* returns true, then it will not be set as part of the Java object structure.
*
* <p>The following are a few examples that shows how you can use this exclusion mechanism.
*
Expand Down

0 comments on commit c6752fc

Please sign in to comment.