mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 10:12:19 +01:00
Threading: replace lambda with method reference
This commit is contained in:
parent
6599d62e6a
commit
e07efde0c0
@ -131,7 +131,7 @@ public class Threading {
|
||||
throwOnLockCycles();
|
||||
|
||||
USER_THREAD = new UserThread();
|
||||
SAME_THREAD = runnable -> runnable.run();
|
||||
SAME_THREAD = Runnable::run;
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user