You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is one more pattern of this in the static block at the end of the file; do you want to replace this as well? Might be good then to make peeked() package-private to avoid a synthetic accessor method (I assume).
#8
Open
OMEEd11990 opened this issue
Mar 11, 2022
· 1 comment
There is one more pattern of this in the static block at the end of the file; do you want to replace this as well? Might be good then to make peeked() package-private to avoid a synthetic accessor method (I assume).
Maybe at that point it might also make sense to merge peeked() and doPeek() into one method?
(I am not a member of this project; the maintainers will probably give you more in-depth feedback)
There is one more pattern of this in the
static
block at the end of the file; do you want to replace this as well? Might be good then to makepeeked()
package-private to avoid a synthetic accessor method (I assume).Maybe at that point it might also make sense to merge
peeked()
anddoPeek()
into one method?(I am not a member of this project; the maintainers will probably give you more in-depth feedback)
Originally posted by @Marcono1234 in google/gson#2083 (review)
The text was updated successfully, but these errors were encountered: