Skip to content

Commit c3b53fc

Browse files
committed
using newest j2eo version
1 parent e0e6b66 commit c3b53fc

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

sandbox_java/MutualRec.java

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
class MutualRec {
2-
class Base {
3-
void f(int x) {
4-
}
1+
class Base {
2+
int f(int x) {
3+
return x;
4+
}
55

6-
void g(int x) {
7-
f(x);
8-
}
6+
int g(int x) {
7+
return f(x);
98
}
9+
}
1010

11-
class Derived extends Base {
12-
@Override
13-
void f(int x) {
14-
g(x);
15-
}
11+
class Derived extends Base {
12+
@Override
13+
int f(int x) {
14+
return g(x);
1615
}
1716
}

src/main/scala/org/polystat/Java.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ object Java:
2020

2121
private val DEFAULT_J2EO_PATH = Path("j2eo.jar")
2222
private val J2EO_URL =
23-
"https://search.maven.org/remotecontent?filepath=org/polystat/j2eo/0.4.0/j2eo-0.4.0.jar"
23+
"https://search.maven.org/remotecontent?filepath=org/polystat/j2eo/0.5.0/j2eo-0.5.0.jar"
2424

2525
private def defaultJ2EO: IO[Path] =
2626
Files[IO]

0 commit comments

Comments
 (0)