Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
InspectionGadgets
/
test
/
com
/
siyeh
/
igtest
/
numeric
/
int_literal_may_be_long
/
IntLiteralMayBeLong.java
blob: 5fcd7f9e2116fd00d2ea0d9812795ce2112a9dd6 [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
igtest
.
numeric
.
int_literal_may_be_long
;
public
class
IntLiteralMayBeLong
{
void
foo
()
{
System
.
out
.
println
((
long
)
1
);
System
.
out
.
println
((
long
)
-
/*yes, minus*/
1
);
System
.
out
.
println
((
long
)-(-(
6
)));
}
}