fix linters

This commit is contained in:
Yadunand Prem
2022-09-25 14:59:51 +08:00
parent caccc490fe
commit bd2d0766ae
13 changed files with 38 additions and 49 deletions

View File

@@ -2,12 +2,13 @@ class Test3 {
public static void main(String[] args) {
CS2030STest we = new CS2030STest();
class Incr implements Immutator<Integer,Integer> {
class Incr implements Immutator<Integer, Integer> {
public Integer invoke(Integer t1) {
return t1 + 1;
}
}
class Length implements Immutator<Integer,String> {
class Length implements Immutator<Integer, String> {
public Integer invoke(String t1) {
return t1.length();
}
@@ -39,4 +40,4 @@ class Test3 {
new Improbable<>().invoke(new Improbable<Integer>().invoke(1)).toString(),
"<<1>>");
}
}
}