mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 12:17:37 +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:
@ -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
|
||||
|
Reference in New Issue
Block a user