From c6752fc47ad0268480a5ef49fc6cbd485447ce23 Mon Sep 17 00:00:00 2001 From: Jesse Wilson Date: Wed, 4 Jun 2014 04:30:19 +0000 Subject: [PATCH] Fix inverted docs in ExclusionStrategy. --- gson/src/main/java/com/google/gson/ExclusionStrategy.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gson/src/main/java/com/google/gson/ExclusionStrategy.java b/gson/src/main/java/com/google/gson/ExclusionStrategy.java index 08fafedf..6a3f43fb 100644 --- a/gson/src/main/java/com/google/gson/ExclusionStrategy.java +++ b/gson/src/main/java/com/google/gson/ExclusionStrategy.java @@ -19,9 +19,9 @@ package com.google.gson; /** * 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. * *

The following are a few examples that shows how you can use this exclusion mechanism. *