Skip to content

Commit

Permalink
PiperOrigin-RevId: 180964207
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin1e100 authored and Copybara-Service committed Jan 5, 2018
1 parent 173cf83 commit 1ade18a
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.google.common.base.Predicates;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Sets;
import com.google.common.io.ByteStreams;
import com.google.common.io.Closer;
import com.google.devtools.build.android.Converters.ExistingPathConverter;
Expand All @@ -46,7 +45,6 @@
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Predicate;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
Expand Down Expand Up @@ -185,13 +183,6 @@ static void splitIntoShards(Options options) throws IOException {
.stream()
.sorted(Comparator.comparing(e -> e.getKey(), ZipEntryComparator::compareClassNames))
.collect(ImmutableList.toImmutableList());
if (expected != null) {
ImmutableSet<String> actual =
files.stream().map(e -> e.getKey()).collect(ImmutableSet.toImmutableSet());
Set<String> difference = Sets.difference(expected, actual);
checkState(difference.isEmpty(),
"--inclusion_filter_jar given but didn't find: %s", difference);
}

// 2. Process each class in desired order, rolling from shard to shard as needed.
if (classesInMainDex == null || classesInMainDex.isEmpty()) {
Expand Down

0 comments on commit 1ade18a

Please sign in to comment.