Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 69fdf6d

Browse files
authored
Use identical in hashValues instead of operator== (#19615)
1 parent 9345347 commit 69fdf6d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

lib/ui/hash_codes.dart

+18-18
Original file line numberDiff line numberDiff line change
@@ -52,41 +52,41 @@ int hashValues(
5252
int result = 0;
5353
result = _Jenkins.combine(result, arg01);
5454
result = _Jenkins.combine(result, arg02);
55-
if (arg03 != _hashEnd) {
55+
if (!identical(arg03, _hashEnd)) {
5656
result = _Jenkins.combine(result, arg03);
57-
if (arg04 != _hashEnd) {
57+
if (!identical(arg04, _hashEnd)) {
5858
result = _Jenkins.combine(result, arg04);
59-
if (arg05 != _hashEnd) {
59+
if (!identical(arg05, _hashEnd)) {
6060
result = _Jenkins.combine(result, arg05);
61-
if (arg06 != _hashEnd) {
61+
if (!identical(arg06, _hashEnd)) {
6262
result = _Jenkins.combine(result, arg06);
63-
if (arg07 != _hashEnd) {
63+
if (!identical(arg07, _hashEnd)) {
6464
result = _Jenkins.combine(result, arg07);
65-
if (arg08 != _hashEnd) {
65+
if (!identical(arg08, _hashEnd)) {
6666
result = _Jenkins.combine(result, arg08);
67-
if (arg09 != _hashEnd) {
67+
if (!identical(arg09, _hashEnd)) {
6868
result = _Jenkins.combine(result, arg09);
69-
if (arg10 != _hashEnd) {
69+
if (!identical(arg10, _hashEnd)) {
7070
result = _Jenkins.combine(result, arg10);
71-
if (arg11 != _hashEnd) {
71+
if (!identical(arg11, _hashEnd)) {
7272
result = _Jenkins.combine(result, arg11);
73-
if (arg12 != _hashEnd) {
73+
if (!identical(arg12, _hashEnd)) {
7474
result = _Jenkins.combine(result, arg12);
75-
if (arg13 != _hashEnd) {
75+
if (!identical(arg13, _hashEnd)) {
7676
result = _Jenkins.combine(result, arg13);
77-
if (arg14 != _hashEnd) {
77+
if (!identical(arg14, _hashEnd)) {
7878
result = _Jenkins.combine(result, arg14);
79-
if (arg15 != _hashEnd) {
79+
if (!identical(arg15, _hashEnd)) {
8080
result = _Jenkins.combine(result, arg15);
81-
if (arg16 != _hashEnd) {
81+
if (!identical(arg16, _hashEnd)) {
8282
result = _Jenkins.combine(result, arg16);
83-
if (arg17 != _hashEnd) {
83+
if (!identical(arg17, _hashEnd)) {
8484
result = _Jenkins.combine(result, arg17);
85-
if (arg18 != _hashEnd) {
85+
if (!identical(arg18, _hashEnd)) {
8686
result = _Jenkins.combine(result, arg18);
87-
if (arg19 != _hashEnd) {
87+
if (!identical(arg19, _hashEnd)) {
8888
result = _Jenkins.combine(result, arg19);
89-
if (arg20 != _hashEnd) {
89+
if (!identical(arg20, _hashEnd)) {
9090
result = _Jenkins.combine(result, arg20);
9191
// I can see my house from here!
9292
}

0 commit comments

Comments
 (0)