Skip to content

Commit

Permalink
Remove dead code from PushCommand (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
byronantak authored Dec 16, 2024
1 parent 126e1b7 commit 2f6aa60
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import java.util.List;
import java.util.Map;
import java.util.UUID;
import java.util.stream.Collectors;
import org.fusesource.jansi.Ansi.Color;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -303,12 +302,6 @@ void generateLocalizedFilesWithLocaleMaping(

logger.debug("Generate localized files with locale mapping");

List<RepositoryLocale> repositoryLocales =
localeMappings.entrySet().stream()
.map(entry -> getRepositoryLocaleForOutputBcp47Tag(entry.getKey()))
.distinct()
.collect(Collectors.toList());

for (Map.Entry<String, String> localeMapping : localeMappings.entrySet()) {
String outputBcp47tag = localeMapping.getKey();
RepositoryLocale repositoryLocale = getRepositoryLocaleForOutputBcp47Tag(outputBcp47tag);
Expand Down

0 comments on commit 2f6aa60

Please sign in to comment.