Any way to convert a code block into a lamdba?
Answered
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
}
Please sign in to leave a comment.
Alt-Enter, Enter ?
You can also do
Alt-Enter, Right, Run inspection on...
to do a mass change.