Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ same3
Method
same3
src/test/resources/bugfinder/NullDeref2.java:44–49 ·
view source on GitHub ↗
(Object a, Object b)
Source
from the content-addressed store, hash-verified
42
}
43
44
static
boolean same3(Object a, Object b) {
45
if
((a == null && b == null) || a.equals(b))
// report a RCN warning
46
return
true;
47
else
48
return
false;
49
}
50
51
}
Callers
nothing calls this directly
Calls
1
equals
Method · 0.45
Tested by
no test coverage detected