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

sbt-airframe: Remove redundant import statements #1176

Closed
xerial opened this issue Jul 2, 2020 · 1 comment
Closed

sbt-airframe: Remove redundant import statements #1176

xerial opened this issue Jul 2, 2020 · 1 comment
Milestone

Comments

@xerial
Copy link
Member

xerial commented Jul 2, 2020

This code seems insufficient for removing redundant import statements from the generated client code:

loop(classDef).filter(requireImports).distinct.sortBy(_.name)

In addition, we need to remove:

  • scala.Option
  • scala.collection.immutable.{List, Map}
  • scala.util.Either
@xerial xerial added this to the Airframe 20 milestone Sep 16, 2020
@xerial xerial mentioned this issue Dec 4, 2020
90 tasks
@xerial xerial modified the milestones: Airframe 20, Airframe 21 Dec 4, 2020
@xerial
Copy link
Member Author

xerial commented Jan 16, 2021

Now sbt-airframe uses full class name for each occurrences instead of using import statements.

@xerial xerial closed this as completed Jan 16, 2021
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

No branches or pull requests

1 participant