-
Notifications
You must be signed in to change notification settings - Fork 40
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
chore: Remove unused import #378
Conversation
I also find a warning ,but I think that this may be a false warning. [warn] /home/laglang/coding/incubator-pekko-http/parsing/src/main/scala-2/org/apache/pekko/http/ccompat/pre213macro.scala:17:36: Unused import
[warn] import scala.language.experimental.macros
[warn] ^
[warn] /home/laglang/coding/incubator-pekko-http/parsing/src/main/scala-2/org/apache/pekko/http/ccompat/since213macro.scala:17:36: Unused import
[warn] import scala.language.experimental.macros
[warn] /home/laglang/coding/incubator-pekko-http/http/src/main/scala/org/apache/pekko/http/javadsl/server/RoutingJavaMapping.scala:37:27: Unused import
[warn] import scala.language.implicitConversions
[warn] ^
[warn] /home/laglang/coding/incubator-pekko-http/http/src/main/scala/org/apache/pekko/http/scaladsl/server/ExceptionHandler.scala:21:23: Unused import
[warn] import scala.language.implicitConversions
|
this breaks the scala 2.12 build - please close this |
Sorry,I didn't test it carefully on 2.12 before, and I still think some imports are not related to the scala version. I will review this PR again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, everything is compiling
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* [Chore] remove unused import * [Chore] remove unused import * revert `pekko.http.ccompat._` * revert seq imports --------- Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
This PR includes:
such as title,remvoe some not import package
motivations:
I find there are some waning about
unused
test:
Removed some
unused import
, so I just compiled locally,it will test by CI