Skip to content

Commit

Permalink
Internal change.
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 726922078
  • Loading branch information
cpovirk authored and Google Java Core Libraries committed Feb 14, 2025
1 parent 740d8bd commit 1769a85
Show file tree
Hide file tree
Showing 26 changed files with 41 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public boolean apply(@Nullable Integer i) {

/** Instantiable predicate with reasonable hashCode() and equals() methods. */
static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0x150ddL;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0x150ddL;

@Override
public boolean apply(@Nullable Integer i) {
Expand Down
3 changes: 2 additions & 1 deletion android/guava/src/com/google/common/cache/LongAdder.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
*/
@GwtCompatible(emulated = true)
final class LongAdder extends Striped64 implements Serializable, LongAddable {
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7249069246863182397L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 7249069246863182397L;

/** Version of plus for use in retryUpdate */
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@ public boolean equals(@Nullable Object object) {
return super.equals(object);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 6588350623831699109L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 6588350623831699109L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -1643,5 +1643,6 @@ public NavigableMap<K, Collection<V>> tailMap(
}
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 2447537837011683357L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 2447537837011683357L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,6 @@ public boolean equals(@Nullable Object object) {
return super.equals(object);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7431625294878419160L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 7431625294878419160L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,6 @@ public Collection<V> values() {
return super.values();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 430848587173315748L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 430848587173315748L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -864,5 +864,5 @@ ImmutableList<E> buildSorted(Comparator<? super E> comparator) {
}
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
4 changes: 2 additions & 2 deletions android/guava/src/com/google/common/collect/Lists.java
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ public ListIterator<E> listIterator(int index) {
return backingList.listIterator(index);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
};
} else {
wrapper =
Expand All @@ -1143,7 +1143,7 @@ public ListIterator<E> listIterator(int index) {
return backingList.listIterator(index);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
};
}
return wrapper.subList(fromIndex, toIndex);
Expand Down
3 changes: 2 additions & 1 deletion android/guava/src/com/google/common/collect/Multimaps.java
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,8 @@ public int hashCode() {
return map.hashCode();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7845222491160860175L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 7845222491160860175L;
}

/**
Expand Down
3 changes: 2 additions & 1 deletion android/guava/src/com/google/common/hash/LongAdder.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
* @author Doug Lea
*/
final class LongAdder extends Striped64 implements Serializable, LongAddable {
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7249069246863182397L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 7249069246863182397L;

/** Version of plus for use in retryUpdate */
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public boolean apply(@Nullable Integer i) {

/** Instantiable predicate with reasonable hashCode() and equals() methods. */
static class IsOdd implements Predicate<@Nullable Integer>, Serializable {
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0x150ddL;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0x150ddL;

@Override
public boolean apply(@Nullable Integer i) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,6 @@ public boolean equals(@Nullable Object object) {
return super.equals(object);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 6588350623831699109L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 6588350623831699109L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -1688,5 +1688,6 @@ public NavigableMap<K, Collection<V>> tailMap(
}
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 2447537837011683357L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 2447537837011683357L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -349,5 +349,6 @@ private void readObjectNoData() throws ObjectStreamException {
throw new InvalidObjectException("Stream data required");
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = -2250766705698539974L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = -2250766705698539974L;
}
3 changes: 2 additions & 1 deletion guava/src/com/google/common/collect/AbstractSetMultimap.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,6 @@ public boolean equals(@Nullable Object object) {
return super.equals(object);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7431625294878419160L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 7431625294878419160L;
}
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,6 @@ public Collection<V> values() {
return super.values();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 430848587173315748L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 430848587173315748L;
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableBiMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -677,5 +677,5 @@ private void readObject(ObjectInputStream stream) throws InvalidObjectException
throw new UnsupportedOperationException();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
Original file line number Diff line number Diff line change
Expand Up @@ -506,5 +506,5 @@ public Builder<E> addAll(Iterator<? extends E> elements) {
public abstract ImmutableCollection<E> build();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableList.java
Original file line number Diff line number Diff line change
Expand Up @@ -941,5 +941,5 @@ ImmutableList<E> buildSorted(Comparator<? super E> comparator) {
}
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -1318,5 +1318,5 @@ private void readObject(ObjectInputStream stream) throws InvalidObjectException
throw new InvalidObjectException("Use SerializedForm");
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableMultiset.java
Original file line number Diff line number Diff line change
Expand Up @@ -670,5 +670,5 @@ Object readResolve() {
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -996,5 +996,5 @@ private static int estimatedSizeForUnknownDuplication(int inputElementsIncluding
sqrt(inputElementsIncludingAnyDuplicates, RoundingMode.CEILING));
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
Original file line number Diff line number Diff line change
Expand Up @@ -1031,5 +1031,5 @@ public static <Z> ImmutableSortedSet<Z> copyOf(Z[] elements) {
throw new UnsupportedOperationException();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
2 changes: 1 addition & 1 deletion guava/src/com/google/common/collect/ImmutableTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -508,5 +508,5 @@ private void readObject(ObjectInputStream stream) throws InvalidObjectException
throw new InvalidObjectException("Use SerializedForm");
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0xcafebabe;
}
4 changes: 2 additions & 2 deletions guava/src/com/google/common/collect/Lists.java
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ public ListIterator<E> listIterator(int index) {
return backingList.listIterator(index);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
};
} else {
wrapper =
Expand All @@ -1157,7 +1157,7 @@ public ListIterator<E> listIterator(int index) {
return backingList.listIterator(index);
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
};
}
return wrapper.subList(fromIndex, toIndex);
Expand Down
3 changes: 2 additions & 1 deletion guava/src/com/google/common/collect/Multimaps.java
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,8 @@ public int hashCode() {
return map.hashCode();
}

@GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 7845222491160860175L;
@GwtIncompatible @J2ktIncompatible
private static final long serialVersionUID = 7845222491160860175L;
}

/**
Expand Down

0 comments on commit 1769a85

Please sign in to comment.