Skip to content

Improve variable names in user guide - #2290

Merged
eamonnmcmanus merged 1 commit into
google:masterfrom
Marcono1234:patch-3
Dec 17, 2022
Merged

Improve variable names in user guide#2290
eamonnmcmanus merged 1 commit into
google:masterfrom
Marcono1234:patch-3

Conversation

@Marcono1234

Copy link
Copy Markdown
Contributor

Follow-up for closed pull request #2283

Comment thread UserGuide.md
int one = gson.fromJson("1", int.class);
Integer one = gson.fromJson("1", Integer.class);
Long one = gson.fromJson("1", Long.class);
Boolean false = gson.fromJson("false", Boolean.class);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, yes, @lengyijun had the right idea here. Imagine calling a variable false!

@eamonnmcmanus
eamonnmcmanus merged commit 4aaf138 into google:master Dec 17, 2022
@Marcono1234
Marcono1234 deleted the patch-3 branch December 18, 2022 20:20
tibor-universe pushed a commit to getuniverse/gson that referenced this pull request Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants