Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/spotbugs/spotbugs
/ round
Method
round
spotbugsTestCases/src/java/ICAST.java:37–40 ·
view source on GitHub ↗
(int a, int b)
Source
from the content-addressed store, hash-verified
35
}
36
37
@ExpectWarning(
"ICAST"
)
38
public
int
round(
int
a,
int
b) {
39
return
Math.round(a / b);
40
}
41
42
@ExpectWarning(
"ICAST"
)
43
public
long convertDaysToMilliseconds(
int
days) {
Callers
3
test
Method · 0.45
BadConstant
Method · 0.45
density
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected