File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/com/turbolent/regex/patterns Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ public int hashCode() {
126
126
Arrays .stream (otherPatterns )
127
127
.flatMap (Alternation ::flatten ))
128
128
.collect (orderedSetCollector ());
129
- patterns .stream (). forEach (Objects ::requireNonNull );
129
+ patterns .forEach (Objects ::requireNonNull );
130
130
return new Alternation <>(new ArrayList <>(patterns ));
131
131
}
132
132
}
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public int hashCode() {
116
116
Arrays .stream (otherPatterns )
117
117
.flatMap (Concatenation ::flatten ))
118
118
.collect (Collectors .toList ());
119
- patterns .stream (). forEach (Objects ::requireNonNull );
119
+ patterns .forEach (Objects ::requireNonNull );
120
120
return new Concatenation <>(patterns );
121
121
}
122
122
}
You can’t perform that action at this time.
0 commit comments