Skip to content

Commit 73349f6

Browse files
committed
Javadoc
1 parent 34bc00c commit 73349f6

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/main/java/org/apache/commons/io/serialization/ValidatingObjectInputStream.java

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public Builder accept(final Class<?>... classes) {
132132
* Accepts class names where the supplied ClassNameMatcher matches for deserialization, unless they are otherwise rejected.
133133
*
134134
* @param matcher a class name matcher to <em>accept</em> objects.
135-
* @return this instance.
135+
* @return {@code this} instance.
136136
* @since 2.18.0
137137
*/
138138
public Builder accept(final ClassNameMatcher matcher) {
@@ -144,7 +144,7 @@ public Builder accept(final ClassNameMatcher matcher) {
144144
* Accepts class names that match the supplied pattern for deserialization, unless they are otherwise rejected.
145145
*
146146
* @param pattern a Pattern for compiled regular expression.
147-
* @return this instance.
147+
* @return {@code this} instance.
148148
* @since 2.18.0
149149
*/
150150
public Builder accept(final Pattern pattern) {
@@ -157,7 +157,7 @@ public Builder accept(final Pattern pattern) {
157157
*
158158
* @param patterns Wildcard file name patterns as defined by {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String)
159159
* FilenameUtils.wildcardMatch}
160-
* @return this instance.
160+
* @return {@code this} instance.
161161
* @since 2.18.0
162162
*/
163163
public Builder accept(final String... patterns) {
@@ -205,7 +205,7 @@ public ObjectStreamClassPredicate getPredicate() {
205205
* Rejects the specified classes for deserialization, even if they are otherwise accepted.
206206
*
207207
* @param classes Classes to reject
208-
* @return this instance.
208+
* @return {@code this} instance.
209209
* @since 2.18.0
210210
*/
211211
public Builder reject(final Class<?>... classes) {
@@ -217,7 +217,7 @@ public Builder reject(final Class<?>... classes) {
217217
* Rejects class names where the supplied ClassNameMatcher matches for deserialization, even if they are otherwise accepted.
218218
*
219219
* @param matcher the matcher to use
220-
* @return this instance.
220+
* @return {@code this} instance.
221221
* @since 2.18.0
222222
*/
223223
public Builder reject(final ClassNameMatcher matcher) {
@@ -229,7 +229,7 @@ public Builder reject(final ClassNameMatcher matcher) {
229229
* Rejects class names that match the supplied pattern for deserialization, even if they are otherwise accepted.
230230
*
231231
* @param pattern standard Java regexp
232-
* @return this instance.
232+
* @return {@code this} instance.
233233
* @since 2.18.0
234234
*/
235235
public Builder reject(final Pattern pattern) {
@@ -242,7 +242,7 @@ public Builder reject(final Pattern pattern) {
242242
*
243243
* @param patterns Wildcard file name patterns as defined by {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String)
244244
* FilenameUtils.wildcardMatch}
245-
* @return this instance.
245+
* @return {@code this} instance.
246246
* @since 2.18.0
247247
*/
248248
public Builder reject(final String... patterns) {
@@ -254,7 +254,7 @@ public Builder reject(final String... patterns) {
254254
* Sets the predicate, null resets to an empty new ObjectStreamClassPredicate.
255255
*
256256
* @param predicate the predicate.
257-
* @return this instance.
257+
* @return {@code this} instance.
258258
* @since 2.18.0
259259
*/
260260
public Builder setPredicate(final ObjectStreamClassPredicate predicate) {
@@ -314,7 +314,7 @@ private ValidatingObjectInputStream(final InputStream input, final ObjectStreamC
314314
* </p>
315315
*
316316
* @param classes Classes to accept
317-
* @return this instance.
317+
* @return {@code this} instance.
318318
*/
319319
public ValidatingObjectInputStream accept(final Class<?>... classes) {
320320
predicate.accept(classes);
@@ -328,7 +328,7 @@ public ValidatingObjectInputStream accept(final Class<?>... classes) {
328328
* </p>
329329
*
330330
* @param matcher a class name matcher to <em>accept</em> objects.
331-
* @return this instance.
331+
* @return {@code this} instance.
332332
*/
333333
public ValidatingObjectInputStream accept(final ClassNameMatcher matcher) {
334334
predicate.accept(matcher);
@@ -342,7 +342,7 @@ public ValidatingObjectInputStream accept(final ClassNameMatcher matcher) {
342342
* </p>
343343
*
344344
* @param pattern a Pattern for compiled regular expression.
345-
* @return this instance.
345+
* @return {@code this} instance.
346346
*/
347347
public ValidatingObjectInputStream accept(final Pattern pattern) {
348348
predicate.accept(pattern);
@@ -357,7 +357,7 @@ public ValidatingObjectInputStream accept(final Pattern pattern) {
357357
*
358358
* @param patterns Wildcard file name patterns as defined by {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String)
359359
* FilenameUtils.wildcardMatch}.
360-
* @return this instance.
360+
* @return {@code this} instance.
361361
*/
362362
public ValidatingObjectInputStream accept(final String... patterns) {
363363
predicate.accept(patterns);
@@ -412,7 +412,7 @@ public <T> T readObjectCast() throws ClassNotFoundException, IOException {
412412
* </p>
413413
*
414414
* @param classes Classes to reject.
415-
* @return this instance.
415+
* @return {@code this} instance.
416416
*/
417417
public ValidatingObjectInputStream reject(final Class<?>... classes) {
418418
predicate.reject(classes);
@@ -426,7 +426,7 @@ public ValidatingObjectInputStream reject(final Class<?>... classes) {
426426
* </p>
427427
*
428428
* @param matcher a class name matcher to <em>reject</em> objects.
429-
* @return this instance.
429+
* @return {@code this} instance.
430430
*/
431431
public ValidatingObjectInputStream reject(final ClassNameMatcher matcher) {
432432
predicate.reject(matcher);
@@ -440,7 +440,7 @@ public ValidatingObjectInputStream reject(final ClassNameMatcher matcher) {
440440
* </p>
441441
*
442442
* @param pattern a Pattern for compiled regular expression.
443-
* @return this instance.
443+
* @return {@code this} instance.
444444
*/
445445
public ValidatingObjectInputStream reject(final Pattern pattern) {
446446
predicate.reject(pattern);
@@ -455,7 +455,7 @@ public ValidatingObjectInputStream reject(final Pattern pattern) {
455455
*
456456
* @param patterns An array of wildcard file name patterns as defined by {@link org.apache.commons.io.FilenameUtils#wildcardMatch(String, String)
457457
* FilenameUtils.wildcardMatch}
458-
* @return this instance.
458+
* @return {@code this} instance.
459459
*/
460460
public ValidatingObjectInputStream reject(final String... patterns) {
461461
predicate.reject(patterns);

0 commit comments

Comments
 (0)