Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified launchable/jar/exe_deploy.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.google.common.collect.ImmutableList;
import com.google.common.io.CharStreams;
import java.util.Collections;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
import org.apache.http.Header;
Expand Down Expand Up @@ -534,7 +535,11 @@ private void collectFiles(TreeWalk treeWalk, TreeReceiver treeReceiver, Consumer
}
}

for (VirtualFile f : treeReceiver.response()) {
// Note(Konboi): To balance the order, since words like "test" and "spec" tend to appear
// toward the end in alphabetical sorting.
List<VirtualFile> files = new ArrayList<>(treeReceiver.response());
Collections.shuffle(files);
for (VirtualFile f : files) {
fileReceiver.accept(f);
filesSent++;
}
Expand Down
Loading