Commit 09db2c2
Remove
Previously, it was present but failed at runtime under J2CL. And soon, J2CL may drop support for the reflective enum-related APIs that it depends on.
`guava-gwt` is used by both GWT and J2CL users, so we have to keep our code buildable against both.
If this CL causes trouble for you as a GWT user, let us know, and we can investigate options further. In the worst case, you can copy the implementation as needed, since `complementOf` is a static method.
RELNOTES=`collect`: Removed `Sets.complementOf` from `guava-gwt` to prepare for the removal of reflective enum-related APIs from J2CL. If this causes you problems as a GWT user, let us know.
PiperOrigin-RevId: 535589407Sets.complementOf from guava-gwt.1 parent c3a155d commit 09db2c2
File tree
4 files changed
+22
-0
lines changed- android
- guava-tests/test/com/google/common/collect
- guava/src/com/google/common/collect
- guava-tests/test/com/google/common/collect
- guava/src/com/google/common/collect
4 files changed
+22
-0
lines changedLines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
584 | 585 | | |
585 | 586 | | |
586 | 587 | | |
| 588 | + | |
587 | 589 | | |
588 | 590 | | |
589 | 591 | | |
590 | 592 | | |
591 | 593 | | |
592 | 594 | | |
| 595 | + | |
593 | 596 | | |
594 | 597 | | |
595 | 598 | | |
596 | 599 | | |
597 | 600 | | |
598 | 601 | | |
| 602 | + | |
599 | 603 | | |
600 | 604 | | |
601 | 605 | | |
602 | 606 | | |
603 | 607 | | |
604 | 608 | | |
| 609 | + | |
605 | 610 | | |
606 | 611 | | |
607 | 612 | | |
608 | 613 | | |
609 | 614 | | |
610 | 615 | | |
| 616 | + | |
611 | 617 | | |
612 | 618 | | |
613 | 619 | | |
614 | 620 | | |
615 | 621 | | |
616 | 622 | | |
| 623 | + | |
617 | 624 | | |
618 | 625 | | |
619 | 626 | | |
620 | 627 | | |
621 | 628 | | |
622 | 629 | | |
| 630 | + | |
623 | 631 | | |
624 | 632 | | |
625 | 633 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
466 | 466 | | |
467 | 467 | | |
468 | 468 | | |
| 469 | + | |
469 | 470 | | |
470 | 471 | | |
471 | 472 | | |
| |||
486 | 487 | | |
487 | 488 | | |
488 | 489 | | |
| 490 | + | |
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
| |||
494 | 496 | | |
495 | 497 | | |
496 | 498 | | |
| 499 | + | |
497 | 500 | | |
498 | 501 | | |
499 | 502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
616 | 617 | | |
617 | 618 | | |
| 619 | + | |
618 | 620 | | |
619 | 621 | | |
620 | 622 | | |
621 | 623 | | |
622 | 624 | | |
623 | 625 | | |
| 626 | + | |
624 | 627 | | |
625 | 628 | | |
626 | 629 | | |
627 | 630 | | |
628 | 631 | | |
629 | 632 | | |
| 633 | + | |
630 | 634 | | |
631 | 635 | | |
632 | 636 | | |
633 | 637 | | |
634 | 638 | | |
635 | 639 | | |
| 640 | + | |
636 | 641 | | |
637 | 642 | | |
638 | 643 | | |
639 | 644 | | |
640 | 645 | | |
641 | 646 | | |
| 647 | + | |
642 | 648 | | |
643 | 649 | | |
644 | 650 | | |
645 | 651 | | |
646 | 652 | | |
647 | 653 | | |
| 654 | + | |
648 | 655 | | |
649 | 656 | | |
650 | 657 | | |
651 | 658 | | |
652 | 659 | | |
653 | 660 | | |
| 661 | + | |
654 | 662 | | |
655 | 663 | | |
656 | 664 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| 483 | + | |
483 | 484 | | |
484 | 485 | | |
485 | 486 | | |
| |||
500 | 501 | | |
501 | 502 | | |
502 | 503 | | |
| 504 | + | |
503 | 505 | | |
504 | 506 | | |
505 | 507 | | |
| |||
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| 513 | + | |
511 | 514 | | |
512 | 515 | | |
513 | 516 | | |
| |||
0 commit comments