[extract method] fork tests

GitOrigin-RevId: 3aae5c738d48c38144f6a78c36738121831ae5a5
This commit is contained in:
Alexandr Suhinin
2020-03-30 17:24:36 +03:00
committed by intellij-monorepo-bot
parent 2f3882a96f
commit 0e860160e5
615 changed files with 11699 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
public class Test {
public static void main(String[] args) {
final String s = "dude";
newMethod(s);
}
private static void newMethod(final String s) {
Runnable runnable = new Runnable() {
public void run() {
System.out.println(s);
}
};
new Thread(runnable).start();
}
}