mirror of
https://github.com/revanced/smali.git
synced 2025-05-09 10:54:29 +02:00
add check for null parameters value in calcHashcode()
git-svn-id: https://smali.googlecode.com/svn/trunk@369 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
a3cf936fc2
commit
bc2e69f5b2
@ -171,7 +171,7 @@ public class ProtoIdItem extends Item<ProtoIdItem> {
|
||||
*/
|
||||
private void calcHashCode() {
|
||||
hashCode = returnType.hashCode();
|
||||
hashCode = 31 * hashCode + parameters.hashCode();
|
||||
hashCode = 31 * hashCode + (parameters==null?0:parameters.hashCode());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user