Skip to content

[pigeon] removed warnings from generated java code #171

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

Merged
merged 3 commits into from
Jun 17, 2020

Conversation

gaaclarke
Copy link
Member

@gaaclarke gaaclarke commented Jun 15, 2020

relevant issue: flutter/flutter#59116

@gaaclarke gaaclarke force-pushed the pigeon-java-warnings branch 2 times, most recently from 4cb85a5 to be90b5a Compare June 15, 2020 23:05
@gaaclarke gaaclarke changed the title [pigeon] removed warnings from generated code [pigeon] removed warnings from generated java code Jun 15, 2020
@gaaclarke gaaclarke force-pushed the pigeon-java-warnings branch from be90b5a to 47ceefb Compare June 15, 2020 23:11
@gaaclarke gaaclarke force-pushed the pigeon-java-warnings branch from 47ceefb to 14638ad Compare June 15, 2020 23:15
@gaaclarke gaaclarke marked this pull request as ready for review June 15, 2020 23:15
@gaaclarke gaaclarke requested a review from GaryQian June 15, 2020 23:16
@gaaclarke gaaclarke requested a review from blasten June 16, 2020 18:08
@@ -178,14 +171,13 @@ String _javaTypeForDartType(String datatype) {
return _javaTypeForDartTypeMap[datatype];
}

String _mapGetter(Field field, List<Class> classes, String mapName) {
String _mapCaster(Field field, List<Class> classes, String varName) {
Copy link
Contributor

Choose a reason for hiding this comment

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

uber nit: variableName

Copy link
Member Author

Choose a reason for hiding this comment

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

Na you are right, doesn't even make sense. Fixed it.

Copy link
Contributor

@blasten blasten left a comment

Choose a reason for hiding this comment

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

LGTM

@gaaclarke gaaclarke merged commit 9d90dd3 into flutter:master Jun 17, 2020
@goderbauer
Copy link
Member

Note to future archeologists: master turned red on this PR, the failure is unrelated to the changes in this PR, the fix is in #173.

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.

3 participants