mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 01:50:56 +07:00
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);
|
|
}
|
|
} |