Skip to content

Commit 8ea4020

Browse files
authored
Fix typos in the documentation (#9)
1 parent f585867 commit 8ea4020

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/main/java/com/marcospassos/phpserializer/SerializerBuilder.java

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public SerializerBuilder()
7070
/**
7171
* Creates a {@link Serializer} instance based on the current configuration.
7272
*
73-
* This method is free of side-effects to this GsonBuilder instance and
74-
* hence can be called multiple times.
73+
* This method is free of side-effects to this instance and hence can be
74+
* called multiple times.
7575
*
7676
* @return An instance of {@link Serializer} configured with the options
7777
* currently set in this builder.
@@ -109,7 +109,7 @@ public SerializerBuilder setCharset(Charset charset)
109109

110110
/**
111111
* Configures the serializer to apply a specific naming policy strategy to
112-
* an objects during serialization.
112+
* objects during serialization.
113113
*
114114
* @param strategy The naming strategy to apply to objects.
115115
*
@@ -123,14 +123,15 @@ public SerializerBuilder setNamingStrategy(NamingStrategy strategy)
123123
}
124124

125125
/**
126-
* Configures the serializer to apply the specified in exclusion strategy
126+
* Configures the serializer to apply the specified exclusion strategy
127127
* during serialization.
128128
*
129129
* If this method is invoked numerous times with different exclusion
130-
* strategy objects then the exclusion strategies that were added will be
131-
* applied as a disjunction rule. This means that if one of the added
132-
* exclusion strategies suggests that a field (or class) should be skipped
133-
* then that field (or object) is skipped during its deserialization.
130+
* strategies then the exclusion strategies that were added will be
131+
* merged into a disjunction strategy. This means that if at least one of
132+
* the added exclusion strategies suggests that a field (or class) should
133+
* be skipped then that field (or object) is skipped during its
134+
* deserialization.
134135
*
135136
* @param strategy The exclusion strategy.
136137
*

0 commit comments

Comments
 (0)