mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 06:39:33 +07:00
GitOrigin-RevId: 122e10e69f93c31e289a024381c7315f1a62203b
19 lines
278 B
Plaintext
19 lines
278 B
Plaintext
import java.io.*;
|
|
|
|
class Main {
|
|
void test() {
|
|
System.out.println((Object) "foo");
|
|
}
|
|
}
|
|
|
|
class Logger {
|
|
private final PrintStream ps;
|
|
|
|
Logger(PrintStream ps) {
|
|
this.ps = ps;
|
|
}
|
|
|
|
void log(Object obj) {
|
|
ps.println(obj);
|
|
}
|
|
} |