Skip to content

Commit

Permalink
serialVersionUID to be 1L
Browse files Browse the repository at this point in the history
  • Loading branch information
suztomo authored Jan 23, 2024
1 parent 5680657 commit b9c587f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ public static SecondsAndNanos parseRfc3339ToSecondsAndNanos(String str) {

/** A timestamp represented as the number of seconds and nanoseconds since Epoch. */
public static final class SecondsAndNanos implements Serializable {
private static long serialVersionUID = 6990344509953007497L;
private static long serialVersionUID = 1L;

private final long seconds;
private final int nanos;
Expand Down Expand Up @@ -339,7 +339,7 @@ public String toString() {

/** Result of parsing an RFC 3339 string. */
private static class Rfc3339ParseResult implements Serializable {
private static final long serialVersionUID = 7889580449503342333L;
private static final long serialVersionUID = 1L;

private final long seconds;
private final int nanos;
Expand Down

0 comments on commit b9c587f

Please sign in to comment.