Skip to content

Commit

Permalink
Name the method parameter 'unused' for ImmutableSortedSet.readObject(…
Browse files Browse the repository at this point in the history
…ObjectInputStream) (so the static analysis doesn't complain)

RELNOTES=n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=232557400
  • Loading branch information
kluever authored and ronshapiro committed Feb 14, 2019
1 parent 12168b6 commit 0451f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -732,7 +732,7 @@ Object readResolve() {
private static final long serialVersionUID = 0;
}

private void readObject(ObjectInputStream stream) throws InvalidObjectException {
private void readObject(ObjectInputStream unused) throws InvalidObjectException {
throw new InvalidObjectException("Use SerializedForm");
}

Expand Down
Expand Up @@ -832,7 +832,7 @@ Object readResolve() {
private static final long serialVersionUID = 0;
}

private void readObject(ObjectInputStream stream) throws InvalidObjectException {
private void readObject(ObjectInputStream unused) throws InvalidObjectException {
throw new InvalidObjectException("Use SerializedForm");
}

Expand Down

0 comments on commit 0451f49

Please sign in to comment.