[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: serialVersionUID fix for Serializable Classes #1883

Merged
merged 4 commits into from
Jan 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
serialVersionUID to be 1L
  • Loading branch information
suztomo committed Jan 23, 2024
commit b9c587f59b0236f655260f24322374a57533e5a7
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
Loading