Minor: Unit.VALUE -> Unit in Java code.

This commit is contained in:
Zalim Bashorov
2014-07-25 21:03:10 +04:00
parent 16dfdd2f03
commit a811de9bbd
11 changed files with 17 additions and 18 deletions
@@ -281,7 +281,7 @@ public class StorageManagerTest extends TestCase {
new Function1<String, Unit>() {
@Override
public Unit invoke(String s) {
return Unit.VALUE;
return Unit.instance$;
}
}
);
@@ -317,7 +317,7 @@ public class StorageManagerTest extends TestCase {
public Unit invoke(String s) {
counter.inc();
assertEquals("tolerant", s);
return Unit.VALUE;
return Unit.instance$;
}
}
);
@@ -346,7 +346,7 @@ public class StorageManagerTest extends TestCase {
public Unit invoke(Collection<String> strings) {
counter.inc();
strings.add("postComputed");
return Unit.VALUE;
return Unit.instance$;
}
}
);
@@ -372,7 +372,7 @@ public class StorageManagerTest extends TestCase {
public Unit invoke(Collection<String> strings) {
counter.inc();
strings.add("postComputed");
return Unit.VALUE;
return Unit.instance$;
}
}
);
@@ -405,7 +405,7 @@ public class StorageManagerTest extends TestCase {
@Override
public Unit invoke(String s) {
fail("Recursion-tolerating value should not be post computed");
return Unit.VALUE;
return Unit.instance$;
}
}
);
@@ -581,4 +581,4 @@ public class StorageManagerTest extends TestCase {
throw new UnsupportedOperationException();
}
}
}
}