mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
[java-tests] Mock JDK 21 (downloaded from the repository); remove in-place mocks where possible
Part of IDEA-334171 Store MockJDK in artifact repository, rather than in Git GitOrigin-RevId: 9c6214e3ead47cc164d20813f5a2b37136607213
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2204b08d1c
commit
77d1d0ab2e
@@ -1,17 +1,4 @@
|
||||
// "Fix all 'Redundant embedded expression in string template' problems in file" "true"
|
||||
package java.lang;
|
||||
import java.util.*;
|
||||
public interface StringTemplate {
|
||||
List<String> fragments();
|
||||
List<Object> values();
|
||||
native static StringTemplate of(String string);
|
||||
Processor<String, RuntimeException> STR;
|
||||
Processor<StringTemplate, RuntimeException> RAW;
|
||||
interface Processor<R, E extends Throwable> {
|
||||
R process(StringTemplate stringTemplate) throws E;
|
||||
}
|
||||
}
|
||||
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(STR."hello|null|world");
|
||||
|
||||
@@ -1,17 +1,4 @@
|
||||
// "Fix all 'Redundant embedded expression in string template' problems in file" "true"
|
||||
package java.lang;
|
||||
import java.util.*;
|
||||
public interface StringTemplate {
|
||||
List<String> fragments();
|
||||
List<Object> values();
|
||||
native static StringTemplate of(String string);
|
||||
Processor<String, RuntimeException> STR;
|
||||
Processor<StringTemplate, RuntimeException> RAW;
|
||||
interface Processor<R, E extends Throwable> {
|
||||
R process(StringTemplate stringTemplate) throws E;
|
||||
}
|
||||
}
|
||||
|
||||
class Test {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(STR."hello|\{ }|world");
|
||||
|
||||
Reference in New Issue
Block a user