You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using scala-2.12.4, java9 and scalamock-3.6.0 I get for the follwing code:
val process = stub[Process]
(process.getInputStream _ ).when().returns(new ByteArrayInputStream("data".getBytes(UTF_8)))
the following Eta-expansion deprecation warning:
Eta-expansion of zero-argument method values is deprecated. Did you intend to write process.getInputStream()?
(process.getInputStream _ ).when().returns(new ByteArrayInputStream("data".getBytes(UTF_8)))
What can I do in order to prevent this warning?
The text was updated successfully, but these errors were encountered:
Using scala-2.12.4, java9 and scalamock-3.6.0 I get for the follwing code:
the following Eta-expansion deprecation warning:
What can I do in order to prevent this warning?
The text was updated successfully, but these errors were encountered: