Skip to content

Commit

Permalink
fix: serialVersionUID fix for Serializable Classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rng70-or committed Oct 6, 2023
1 parent 13edd13 commit 5680657
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ 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 final long seconds;
private final int nanos;

Expand Down Expand Up @@ -337,6 +339,8 @@ public String toString() {

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

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

0 comments on commit 5680657

Please sign in to comment.