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

[Java Play Framework] Remove most warnings + bug fixes #6275

Merged
merged 11 commits into from
Aug 11, 2017
Merged

[Java Play Framework] Remove most warnings + bug fixes #6275

merged 11 commits into from
Aug 11, 2017

Conversation

JFCote
Copy link
Contributor

@JFCote JFCote commented Aug 9, 2017

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master for non-breaking changes and 3.0.0 branch for breaking (non-backward compatible) changes.

Description of the PR

Fix of most warning + remove import that could be removed + fix of small bug found along the way.
Will create a new PR when I know how to use "dynamic" import. @wing328 should send me some example soon to improve this.

JFCote added 11 commits June 1, 2017 10:04
# Conflicts:
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/conversionBegin.mustache
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/conversionEnd.mustache
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/model.mustache
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/swaggerUtils.mustache
#	samples/server/petstore/java-play-framework/app/apimodels/Category.java
#	samples/server/petstore/java-play-framework/app/apimodels/ModelApiResponse.java
#	samples/server/petstore/java-play-framework/app/apimodels/Order.java
#	samples/server/petstore/java-play-framework/app/apimodels/Pet.java
#	samples/server/petstore/java-play-framework/app/apimodels/Tag.java
#	samples/server/petstore/java-play-framework/app/apimodels/User.java
#	samples/server/petstore/java-play-framework/app/swagger/SwaggerUtils.java
# Conflicts:
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/conversionBegin.mustache
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/conversionEnd.mustache
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/model.mustache
#	modules/swagger-codegen/src/main/resources/JavaPlayFramework/swaggerUtils.mustache
#	samples/server/petstore/java-play-framework/app/apimodels/Category.java
#	samples/server/petstore/java-play-framework/app/apimodels/ModelApiResponse.java
#	samples/server/petstore/java-play-framework/app/apimodels/Order.java
#	samples/server/petstore/java-play-framework/app/apimodels/Pet.java
#	samples/server/petstore/java-play-framework/app/apimodels/Tag.java
#	samples/server/petstore/java-play-framework/app/apimodels/User.java
#	samples/server/petstore/java-play-framework/app/swagger/SwaggerUtils.java
…the generator itself (not in the mustache files)
@wing328 wing328 merged commit ab28c7c into swagger-api:master Aug 11, 2017
@wing328 wing328 added this to the v2.3.0 milestone Aug 11, 2017
@JFCote JFCote deleted the remove-most-warning-improvement branch December 21, 2017 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants