Unnecessary boxing was removed from tests (#30250)

This commit is contained in:
Andrei Arlou 2021-05-31 16:46:14 +03:00 committed by GitHub
parent 622d8af0ef
commit 206dafa01d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 26 deletions

View file

@ -194,14 +194,7 @@ public class JavaAPI extends JUnitSuite {
}
public void onReceive(Object msg) {
String reply =
String.valueOf(a)
+ "-"
+ String.valueOf(b)
+ "-"
+ String.valueOf(c)
+ "-"
+ String.valueOf(d);
String reply = a + "-" + b + "-" + c + "-" + d;
getSender().tell(reply, getSelf());
}
}