More fixes to JavaDoc.

This commit is contained in:
Joel Leitch 2011-04-11 18:52:29 +00:00
parent 49e7ee05fc
commit c5c7c5bb64

View File

@ -355,10 +355,12 @@ public final class GsonBuilder {
} }
/** /**
* Configures Gson to apply a set of exclusion strategies during serialization. * Configures Gson to apply the passed exclusion strategies during serialization.
* Each of the {@code strategies} will be applied as a disjunction rule. * If this method is invoked numerous times with different exclusion strategy objects
* This means that if one of the {@code strategies} suggests that a field (or class) should be * then the exclusion strategies that were added will be applied as a disjunction rule.
* skipped then that field (or object) is skipped during serialization. * This means that if one of the added exclusion strategies suggests that a field (or
* class) should be skipped then that field (or object) is skipped during its
* serialization.
* *
* @param strategy an exclusion strategy to apply during serialization. * @param strategy an exclusion strategy to apply during serialization.
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern * @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern
@ -370,10 +372,12 @@ public final class GsonBuilder {
} }
/** /**
* Configures Gson to apply a set of exclusion strategies during deserialization. * Configures Gson to apply the passed exclusion strategies during deserialization.
* Each of the {@code strategies} will be applied as a disjunction rule. * If this method is invoked numerous times with different exclusion strategy objects
* This means that if one of the {@code strategies} suggests that a field (or class) should be * then the exclusion strategies that were added will be applied as a disjunction rule.
* skipped then that field (or object) is skipped during deserialization. * This means that if one of the added exclusion strategies suggests that a field (or
* class) should be skipped then that field (or object) is skipped during its
* deserialization.
* *
* @param strategy an exclusion strategy to apply during deserialization. * @param strategy an exclusion strategy to apply during deserialization.
* @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern * @return a reference to this {@code GsonBuilder} object to fulfill the "Builder" pattern