Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
performance
/
RandomDoubleForRandomIntegerInspection.java
blob: 6cca20ef395fd1b6177ba2196e48c92605845835 [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
performance
;
import
java
.
util
.
Random
;
public
class
RandomDoubleForRandomIntegerInspection
{
public
int
foo
()
{
return
(
int
)(
new
Random
().
nextDouble
()
*
3.0
);
}
}