I have the following code line:
MyClass{
Runnable job;
...
}
and inside one of the method:
this.job = myImporter::importProducts;
Now importProducts
is method without arguments:
public void importProducts() {
...
}
But I need to add argument to this method now.
After adding new argument, line:
this.job = myImporter::importProducts;
became broken.
Is it possible to fix it?