@@ -476,7 +476,7 @@ public Link withHref(String href) {
476
476
* @param hreflang
477
477
* @return
478
478
*/
479
- public Link withHreflang (String hreflang ) {
479
+ public Link withHreflang (@ Nullable String hreflang ) {
480
480
481
481
return this .hreflang == hreflang ? this
482
482
: new Link (this .rel , this .href , hreflang , this .media , this .title , this .type , this .deprecation , this .profile ,
@@ -489,7 +489,7 @@ public Link withHreflang(String hreflang) {
489
489
* @param media
490
490
* @return
491
491
*/
492
- public Link withMedia (String media ) {
492
+ public Link withMedia (@ Nullable String media ) {
493
493
494
494
return this .media == media ? this
495
495
: new Link (this .rel , this .href , this .hreflang , media , this .title , this .type , this .deprecation , this .profile ,
@@ -502,7 +502,7 @@ public Link withMedia(String media) {
502
502
* @param title
503
503
* @return
504
504
*/
505
- public Link withTitle (String title ) {
505
+ public Link withTitle (@ Nullable String title ) {
506
506
507
507
return this .title == title ? this
508
508
: new Link (this .rel , this .href , this .hreflang , this .media , title , this .type , this .deprecation , this .profile ,
@@ -515,7 +515,7 @@ public Link withTitle(String title) {
515
515
* @param type
516
516
* @return
517
517
*/
518
- public Link withType (String type ) {
518
+ public Link withType (@ Nullable String type ) {
519
519
520
520
return this .type == type ? this
521
521
: new Link (this .rel , this .href , this .hreflang , this .media , this .title , type , this .deprecation , this .profile ,
@@ -528,7 +528,7 @@ public Link withType(String type) {
528
528
* @param deprecation
529
529
* @return
530
530
*/
531
- public Link withDeprecation (String deprecation ) {
531
+ public Link withDeprecation (@ Nullable String deprecation ) {
532
532
533
533
return this .deprecation == deprecation ? this
534
534
: new Link (this .rel , this .href , this .hreflang , this .media , this .title , this .type , deprecation , this .profile ,
@@ -541,7 +541,7 @@ public Link withDeprecation(String deprecation) {
541
541
* @param profile
542
542
* @return
543
543
*/
544
- public Link withProfile (String profile ) {
544
+ public Link withProfile (@ Nullable String profile ) {
545
545
546
546
return this .profile == profile ? this
547
547
: new Link (this .rel , this .href , this .hreflang , this .media , this .title , this .type , this .deprecation , profile ,
@@ -554,7 +554,7 @@ public Link withProfile(String profile) {
554
554
* @param name
555
555
* @return
556
556
*/
557
- public Link withName (String name ) {
557
+ public Link withName (@ Nullable String name ) {
558
558
559
559
return this .name == name ? this
560
560
: new Link (this .rel , this .href , this .hreflang , this .media , this .title , this .type , this .deprecation ,
0 commit comments