File tree Expand file tree Collapse file tree
src/main/java/mServer/crawler Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ private void updateFunkMissingHost(ListeFilme listeEinsortieren) {
180180 }
181181
182182 private void updateThema (ListeFilme listeEinsortieren ) {
183- listeEinsortieren .forEach (film -> {
183+ listeEinsortieren .parallelStream (). forEach (film -> {
184184 final String thema = film .arr [DatenFilm .FILM_THEMA ].trim ();
185185 if (thema .contains ("–" )) {
186186 film .arr [DatenFilm .FILM_THEMA ] = thema .replace ("–" , "-" ).trim ();
@@ -189,7 +189,7 @@ private void updateThema(ListeFilme listeEinsortieren) {
189189 }
190190
191191 private void updateTitle (ListeFilme listeEinsortieren ) {
192- listeEinsortieren .forEach (film -> {
192+ listeEinsortieren .parallelStream (). forEach (film -> {
193193 final String title = film .arr [DatenFilm .FILM_TITEL ].trim ();
194194 if (title .endsWith ("-" )) {
195195 film .arr [DatenFilm .FILM_TITEL ] = title .replaceAll ("-+$" , "" ).trim ();
You can’t perform that action at this time.
0 commit comments