Skip to content

Commit

Permalink
Format comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaroclapp committed Jun 29, 2020
1 parent 990b5f7 commit b841a3b
Showing 1 changed file with 3 additions and 6 deletions.
Expand Up @@ -317,12 +317,9 @@ public static void annotateBytecodeInAar(
LOG(debug, "DEBUG", "nullableReturns: " + nullableReturns);
LOG(debug, "DEBUG", "nonnullParams: " + nonnullParams);
// Error Prone doesn't like usages of the old Java Enumerator APIs. ZipFile does not implement
// Iterable, and likely
// never will (see https://bugs.openjdk.java.net/browse/JDK-6581715). Additionally,
// inputZip.stream() returns a
// Stream<? extends ZipEntry>, and the ::iterator method has trouble handling that. So this
// seems like the
// best remaining way:
// Iterable, and likely never will (see https://bugs.openjdk.java.net/browse/JDK-6581715).
// Additionally, inputZip.stream() returns a Stream<? extends ZipEntry>, and the ::iterator
// method has trouble handling that. So this seems like the best remaining way:
for (ZipEntry zipEntry : inputZip.stream().collect(ImmutableList.toImmutableList())) {
InputStream is = inputZip.getInputStream(zipEntry);
zipOS.putNextEntry(new ZipEntry(zipEntry.getName()));
Expand Down

0 comments on commit b841a3b

Please sign in to comment.