Skip to content

Commit 335950b

Browse files
cpovirkGoogle Java Core Libraries
authored andcommitted
Remove obsolete link to ancient site.
A better link would be gwtproject/gwt#3034, which in turn points to gwtproject/gwt#3319. But the purpose of the link was to explain why our `ImmutableEnumSet` was _not_ serializable, and it became serializable back in cl/13204390 (as belatedly documented in cl/13216866). I should have removed the comment at that point. And of course now we've been ripping out GWT serialization entirely, so that that's yet another reason to eliminate this comment. RELNOTES=n/a PiperOrigin-RevId: 700411695
1 parent cf508b7 commit 335950b

File tree

2 files changed

+0
-4
lines changed
  • android/guava/src/com/google/common/collect
  • guava/src/com/google/common/collect

2 files changed

+0
-4
lines changed

android/guava/src/com/google/common/collect/Sets.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ public boolean retainAll(Collection<?> c) {
101101
* @param otherElements the rest of the elements the set should contain
102102
* @return an immutable set containing those elements, minus duplicates
103103
*/
104-
// http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
105104
@GwtCompatible(serializable = true)
106105
public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(
107106
E anElement, E... otherElements) {
@@ -118,7 +117,6 @@ public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(
118117
* @param elements the elements, all of the same {@code enum} type, that the set should contain
119118
* @return an immutable set containing those elements, minus duplicates
120119
*/
121-
// http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
122120
@GwtCompatible(serializable = true)
123121
public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(Iterable<E> elements) {
124122
if (elements instanceof ImmutableEnumSet) {

guava/src/com/google/common/collect/Sets.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ public boolean retainAll(Collection<?> c) {
103103
* @param otherElements the rest of the elements the set should contain
104104
* @return an immutable set containing those elements, minus duplicates
105105
*/
106-
// http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
107106
@GwtCompatible(serializable = true)
108107
public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(
109108
E anElement, E... otherElements) {
@@ -120,7 +119,6 @@ public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(
120119
* @param elements the elements, all of the same {@code enum} type, that the set should contain
121120
* @return an immutable set containing those elements, minus duplicates
122121
*/
123-
// http://code.google.com/p/google-web-toolkit/issues/detail?id=3028
124122
@GwtCompatible(serializable = true)
125123
public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(Iterable<E> elements) {
126124
if (elements instanceof ImmutableEnumSet) {

0 commit comments

Comments
 (0)