34
34
import static java .time .format .DateTimeFormatter .RFC_1123_DATE_TIME ;
35
35
36
36
/**
37
- * Represent the Content-Disposition type and parameters as defined in RFC 6266.
37
+ * Representation of the Content-Disposition type and parameters as defined in RFC 6266.
38
38
*
39
39
* @author Sebastien Deleuze
40
40
* @author Juergen Hoeller
@@ -520,7 +520,7 @@ public interface Builder {
520
520
/**
521
521
* Set the value of the {@literal size} parameter.
522
522
* @deprecated since 5.2.3 as per
523
- * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Apendix B</a>,
523
+ * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Appendix B</a>,
524
524
* to be removed in a future release.
525
525
*/
526
526
@ Deprecated
@@ -529,7 +529,7 @@ public interface Builder {
529
529
/**
530
530
* Set the value of the {@literal creation-date} parameter.
531
531
* @deprecated since 5.2.3 as per
532
- * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Apendix B</a>,
532
+ * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Appendix B</a>,
533
533
* to be removed in a future release.
534
534
*/
535
535
@ Deprecated
@@ -538,7 +538,7 @@ public interface Builder {
538
538
/**
539
539
* Set the value of the {@literal modification-date} parameter.
540
540
* @deprecated since 5.2.3 as per
541
- * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Apendix B</a>,
541
+ * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Appendix B</a>,
542
542
* to be removed in a future release.
543
543
*/
544
544
@ Deprecated
@@ -547,7 +547,7 @@ public interface Builder {
547
547
/**
548
548
* Set the value of the {@literal read-date} parameter.
549
549
* @deprecated since 5.2.3 as per
550
- * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Apendix B</a>,
550
+ * <a href="https://tools.ietf.org/html/rfc6266#appendix-B">RFC 6266, Appendix B</a>,
551
551
* to be removed in a future release.
552
552
*/
553
553
@ Deprecated
@@ -612,24 +612,28 @@ public Builder filename(String filename, Charset charset) {
612
612
}
613
613
614
614
@ Override
615
+ @ SuppressWarnings ("deprecation" )
615
616
public Builder size (Long size ) {
616
617
this .size = size ;
617
618
return this ;
618
619
}
619
620
620
621
@ Override
622
+ @ SuppressWarnings ("deprecation" )
621
623
public Builder creationDate (ZonedDateTime creationDate ) {
622
624
this .creationDate = creationDate ;
623
625
return this ;
624
626
}
625
627
626
628
@ Override
629
+ @ SuppressWarnings ("deprecation" )
627
630
public Builder modificationDate (ZonedDateTime modificationDate ) {
628
631
this .modificationDate = modificationDate ;
629
632
return this ;
630
633
}
631
634
632
635
@ Override
636
+ @ SuppressWarnings ("deprecation" )
633
637
public Builder readDate (ZonedDateTime readDate ) {
634
638
this .readDate = readDate ;
635
639
return this ;
0 commit comments