mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
10 lines
267 B
Java
10 lines
267 B
Java
// "Replace anonymous class with ThreadLocal.withInitial" "true"
|
|
public class Main {
|
|
ThreadLocal<? extends CharSequence> tlr = new Th<caret>readLocal<String>() {
|
|
// comment
|
|
@Override
|
|
protected String initialValue() {
|
|
return "initial";
|
|
}
|
|
};
|
|
} |