Threading: replace lambda with method reference

This commit is contained in:
Sean Gilligan 2022-03-14 16:42:54 +01:00 committed by Andreas Schildbach
parent 6599d62e6a
commit e07efde0c0

View File

@ -131,7 +131,7 @@ public class Threading {
throwOnLockCycles();
USER_THREAD = new UserThread();
SAME_THREAD = runnable -> runnable.run();
SAME_THREAD = Runnable::run;
}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////