Wrote /root/JavaX-Caches/tmp_659313985/main.java - 1186 bytes (written=1186, should be 1186)
javac=0, ecj=1, useJarBot=0
Checking ECJ at port 4898 at 127.0.0.1
/root/jdk-17/bin/javac -source 1.8 -target 1.8 -nowarn -encoding utf8 -Xdiags:verbose -cp /root/.javax/x30.jar:/root/dexcompiler/android.jar:/root/dexcompiler/support-v4-22.2.1.jar:/root/javafx/javafx.base.jar:/root/javafx/javafx.graphics.jar:/root/javafx/javafx.swing.jar:/root/.tinybrain/snippet-cache/data_1003153.jar -d /root/JavaX-Caches/tmp_1649350096 /root/JavaX-Caches/tmp_659313985/main.java 2>&1
[Compilation Error]Compiler errors. Medium transpile. Show Java sources. Show snippet. Edit.
/root/JavaX-Caches/tmp_659313985/main.java:1: error: class, interface, or enum expected
!752
^
/root/JavaX-Caches/tmp_659313985/main.java:9: error: class, interface, or enum expected
sclass FoundImg {
^
/root/JavaX-Caches/tmp_659313985/main.java:11: error: class, interface, or enum expected
S imageID;
^
/root/JavaX-Caches/tmp_659313985/main.java:12: error: class, interface, or enum expected
float sim; // similarity in 0 to 1
^
/root/JavaX-Caches/tmp_659313985/main.java:14: error: class, interface, or enum expected
*() {}
^
/root/JavaX-Caches/tmp_659313985/main.java:20: error: class, interface, or enum expected
static float correctness = 0.99f;
^
/root/JavaX-Caches/tmp_659313985/main.java:22: error: class, interface, or enum expected
p {
^
/root/JavaX-Caches/tmp_659313985/main.java:24: error: class, interface, or enum expected
S patID = "#1004153"; // Search Button
^
/root/JavaX-Caches/tmp_659313985/main.java:25: error: class, interface, or enum expected
BWImage pat = loadBWImage(patID);
^
/root/JavaX-Caches/tmp_659313985/main.java:27: error: class, interface, or enum expected
long start = now();
^
/root/JavaX-Caches/tmp_659313985/main.java:29: error: class, interface, or enum expected
int wp = pat.getWidth(), hp = pat.getHeight();
^
/root/JavaX-Caches/tmp_659313985/main.java:30: error: class, interface, or enum expected
int w = big.getWidth(), h = big.getHeight();
^
/root/JavaX-Caches/tmp_659313985/main.java:31: error: class, interface, or enum expected
float maxError = (1f-correctness)*wp*hp;
^
/root/JavaX-Caches/tmp_659313985/main.java:32: error: class, interface, or enum expected
for (int y = 0; y < h-hp; y++)
^
/root/JavaX-Caches/tmp_659313985/main.java:32: error: class, interface, or enum expected
for (int y = 0; y < h-hp; y++)
^
/root/JavaX-Caches/tmp_659313985/main.java:32: error: class, interface, or enum expected
for (int y = 0; y < h-hp; y++)
^
/root/JavaX-Caches/tmp_659313985/main.java:33: error: class, interface, or enum expected
for (int x = 0; x < w-wp; x++) {
^
/root/JavaX-Caches/tmp_659313985/main.java:33: error: class, interface, or enum expected
for (int x = 0; x < w-wp; x++) {
^
/root/JavaX-Caches/tmp_659313985/main.java:35: error: class, interface, or enum expected
if (diff <= maxError) {
^
/root/JavaX-Caches/tmp_659313985/main.java:37: error: class, interface, or enum expected
print("Found at " + x + "/" + y + " [sim: " + formatDouble(sim, 4) + "]");
^
/root/JavaX-Caches/tmp_659313985/main.java:38: error: class, interface, or enum expected
Rectangle r = new Rectangle(x, y, wp, hp);
^
/root/JavaX-Caches/tmp_659313985/main.java:39: error: class, interface, or enum expected
found.add(new FoundImg(r, patID, sim));
^
/root/JavaX-Caches/tmp_659313985/main.java:40: error: class, interface, or enum expected
quickShowZoomedImage(big.clip(r).toRGB());
^
/root/JavaX-Caches/tmp_659313985/main.java:42: error: class, interface, or enum expected
}
^
/root/JavaX-Caches/tmp_659313985/main.java:46: error: class, interface, or enum expected
}
^
25 errors