Any way to convert a code block into a lamdba?
已回答
Hello,
There is code like
threadpool.submit(new Runnable() {
@Override
public void run() {
//Code to run
}
}
Any way to to automatically convert it lambda like :
threadPool.submit(() -> {
//Code to run
}
请先登录再写评论。
Alt-Enter, Enter ?
You can also do
Alt-Enter, Right, Run inspection on...
to do a mass change.