mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 06:34:25 +02:00
adjusted hashcode
This commit is contained in:
parent
5c7a82ab8d
commit
1e0a80f9a8
@ -356,8 +356,8 @@ public class ResConfigFlags {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 3;
|
int hash = 17;
|
||||||
hash = 97 * hash + this.mQualifiers.hashCode();
|
hash = 31 * hash + this.mQualifiers.hashCode();
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -48,8 +48,8 @@ public class ResID {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 7;
|
int hash = 17;
|
||||||
hash = 59 * hash + this.id;
|
hash = 31 * hash + this.id;
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -205,9 +205,9 @@ public class ResPackage {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 7;
|
int hash = 17;
|
||||||
hash = 37 * hash + (this.mResTable != null ? this.mResTable.hashCode() : 0);
|
hash = 31 * hash + (this.mResTable != null ? this.mResTable.hashCode() : 0);
|
||||||
hash = 37 * hash + this.mId;
|
hash = 31 * hash + this.mId;
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -82,9 +82,9 @@ public class ResValuesFile {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 5;
|
int hash = 17;
|
||||||
hash = 37 * hash + (this.mType != null ? this.mType.hashCode() : 0);
|
hash = 31 * hash + (this.mType != null ? this.mType.hashCode() : 0);
|
||||||
hash = 37 * hash + (this.mConfig != null ? this.mConfig.hashCode() : 0);
|
hash = 31 * hash + (this.mConfig != null ? this.mConfig.hashCode() : 0);
|
||||||
return hash;
|
return hash;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user