commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1006212 [8/16] - in /websites/production/commons/content/proper/commons-compress: ./ apidocs/org/apache/commons/compress/compressors/lz4/ apidocs/org/apache/commons/compress/compressors/snappy/ apidocs/src-html/org/apache/commons/compress/...
Date Sat, 04 Feb 2017 16:19:38 GMT
Modified: websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/BlockLZ4CompressorOutputStream.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/BlockLZ4CompressorOutputStream.html (original)
+++ websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/BlockLZ4CompressorOutputStream.html Sat Feb  4 16:19:37 2017
@@ -1 +1 @@
-<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>BlockLZ4CompressorOutputStream</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Compress</a> &gt; <a href="index.html" class="el_package">org.apache.commons.compress.compressors.lz4</a> &gt; <span class="el_class">BlockLZ4CompressorOutputStream</span></div><h1>BlockLZ4CompressorOut
 putStream</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">1 of 588</td><td class="ctr2">100%</td><td class="bar">3 of 64<
 /td><td class="ctr2">95%</td><td class="ctr1">3</td><td class="ctr2">50</td><td class="ctr1">1</td><td class="ctr2">162</td><td class="ctr1">0</td><td class="ctr2">18</td></tr></tfoot><tbody><tr><td id="a12"><a href="BlockLZ4CompressorOutputStream.java.html#L302" class="el_method">rewriteLastPairs()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="119" height="10" title="151" alt="151"/></td><td class="ctr2" id="c17">99%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="113" height="10" title="17" alt="17"/></td><td class="ctr2" id="e6">94%</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">10</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i0">36</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a8"><a href="BlockLZ4CompressorOutputStream.java.html#L216" class="el_method">expandFromList(by
 te[], int, int)</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="68" height="10" title="87" alt="87"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="46" height="10" title="7" alt="7"/></td><td class="ctr2" id="e7">88%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g2">5</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">25</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a17"><a href="BlockLZ4CompressorOutputStream.java.html#L280" class="el_method">writeWritablePairs(int)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="41" height="10" title="53" alt="53"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"><img src="../jacoco-resources/greenbar.gif" width="66" height="10" title="10" alt="10"/></td><td clas
 s="ctr2" id="e0">100%</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g1">6</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">15</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a5"><a href="BlockLZ4CompressorOutputStream.java.html#L248" class="el_method">clearUnusedPairs()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="39" height="10" title="50" alt="50"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="46" height="10" title="7" alt="7"/></td><td class="ctr2" id="e8">88%</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g3">5</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">15</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a2"><a href="BlockLZ4CompressorOutputStream.java.html#L84" class="el_method"
 >BlockLZ4CompressorOutputStream(OutputStream)</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="33" height="10" title="42" alt="42"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g9">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">9</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a3"><a href="BlockLZ4CompressorOutputStream.java.html#L182" class="el_method">clearUnusedBlocks()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="33" height="10" title="42" alt="42"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"><img src="../jacoco-resources/greenbar.gif" width="40" height="10" title="6" alt="6"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g4">4</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i4">12</td>
 <td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a7"><a href="BlockLZ4CompressorOutputStream.java.html#L202" class="el_method">expand(int, int)</a></td><td class="bar" id="b6"><img src="../jacoco-resources/greenbar.gif" width="24" height="10" title="31" alt="31"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d5"><img src="../jacoco-resources/greenbar.gif" width="26" height="10" title="4" alt="4"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g5">3</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">9</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a16"><a href="BlockLZ4CompressorOutputStream.java.html#L270" class="el_method">writeFinalLiteralBlock()</a></td><td class="bar" id="b7"><img src="../jacoco-resources/greenbar.gif" width="19" height="10" title="25" alt="25"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d6"><img src="../jacoco-resou
 rces/greenbar.gif" width="26" height="10" title="4" alt="4"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g6">3</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">7</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a15"><a href="BlockLZ4CompressorOutputStream.java.html#L163" class="el_method">writeBlocksAndReturnUnfinishedPair(int)</a></td><td class="bar" id="b8"><img src="../jacoco-resources/greenbar.gif" width="18" height="10" title="23" alt="23"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d7"><img src="../jacoco-resources/greenbar.gif" width="26" height="10" title="4" alt="4"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g7">3</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i8">6</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a0"><a href="BlockLZ4CompressorOutputStream.java.html#L156" clas
 s="el_method">addBackReference(LZ77Compressor.BackReference)</a></td><td class="bar" id="b9"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="14" alt="14"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g10">1</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">5</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a14"><a href="BlockLZ4CompressorOutputStream.java.html#L122" class="el_method">write(int)</a></td><td class="bar" id="b10"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="13" alt="13"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g11">1</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i12">3</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><t
 d id="a1"><a href="BlockLZ4CompressorOutputStream.java.html#L150" class="el_method">addLiteralBlock(LZ77Compressor.LiteralBlock)</a></td><td class="bar" id="b11"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="13" alt="13"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g12">1</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i10">4</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a9"><a href="BlockLZ4CompressorOutputStream.java.html#L143" class="el_method">finish()</a></td><td class="bar" id="b12"><img src="../jacoco-resources/greenbar.gif" width="7" height="10" title="10" alt="10"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d8"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="2" alt="2"/></td><td class="ctr2" id="e5">100%</td><td class="ctr1" id="f12">0</td><td class=
 "ctr2" id="g8">2</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i11">4</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a10"><a href="BlockLZ4CompressorOutputStream.java.html#L198" class="el_method">recordBackReference(LZ77Compressor.BackReference)</a></td><td class="bar" id="b13"><img src="../jacoco-resources/greenbar.gif" width="7" height="10" title="10" alt="10"/></td><td class="ctr2" id="c12">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g13">1</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i15">2</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a13"><a href="BlockLZ4CompressorOutputStream.java.html#L128" class="el_method">write(byte[], int, int)</a></td><td class="bar" id="b14"><img src="../jacoco-resources/greenbar.gif" width="5" height="10" title="7" alt="7"/></td><td class="ctr2" id="c13">100%</td><td class="b
 ar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i16">2</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a6"><a href="BlockLZ4CompressorOutputStream.java.html#L133" class="el_method">close()</a></td><td class="bar" id="b15"><img src="../jacoco-resources/greenbar.gif" width="4" height="10" title="6" alt="6"/></td><td class="ctr2" id="c14">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i13">3</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr><tr><td id="a11"><a href="BlockLZ4CompressorOutputStream.java.html#L173" class="el_method">recordLiteral(byte[])</a></td><td class="bar" id="b16"><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="5" alt="5"/></td><td
  class="ctr2" id="c15">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i17">2</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a4"><a href="BlockLZ4CompressorOutputStream.java.html#L177" class="el_method">clearUnusedBlocksAndPairs()</a></td><td class="bar" id="b17"><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="5" alt="5"/></td><td class="ctr2" id="c16">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i14">3</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>BlockLZ4CompressorOutputStream</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Compress</a> &gt; <a href="index.html" class="el_package">org.apache.commons.compress.compressors.lz4</a> &gt; <span class="el_class">BlockLZ4CompressorOutputStream</span></div><h1>BlockLZ4CompressorOut
 putStream</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">13 of 602</td><td class="ctr2">98%</td><td class="bar">4 of 66<
 /td><td class="ctr2">94%</td><td class="ctr1">4</td><td class="ctr2">51</td><td class="ctr1">2</td><td class="ctr2">164</td><td class="ctr1">0</td><td class="ctr2">18</td></tr></tfoot><tbody><tr><td id="a8"><a href="BlockLZ4CompressorOutputStream.java.html#L215" class="el_method">expandFromList(byte[], int, int)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="9" height="10" title="12" alt="12"/><img src="../jacoco-resources/greenbar.gif" width="70" height="10" title="89" alt="89"/></td><td class="ctr2" id="c17">88%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="13" height="10" title="2" alt="2"/><img src="../jacoco-resources/greenbar.gif" width="53" height="10" title="8" alt="8"/></td><td class="ctr2" id="e8">80%</td><td class="ctr1" id="f0">2</td><td class="ctr2" id="g1">6</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">27</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a12
 "><a href="BlockLZ4CompressorOutputStream.java.html#L305" class="el_method">rewriteLastPairs()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="119" height="10" title="151" alt="151"/></td><td class="ctr2" id="c16">99%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="113" height="10" title="17" alt="17"/></td><td class="ctr2" id="e6">94%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g0">10</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i0">36</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a17"><a href="BlockLZ4CompressorOutputStream.java.html#L283" class="el_method">writeWritablePairs(int)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="41" height="10" title="53" alt="53"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d3"><img src="../ja
 coco-resources/greenbar.gif" width="66" height="10" title="10" alt="10"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g2">6</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">15</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a5"><a href="BlockLZ4CompressorOutputStream.java.html#L251" class="el_method">clearUnusedPairs()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="39" height="10" title="50" alt="50"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="46" height="10" title="7" alt="7"/></td><td class="ctr2" id="e7">88%</td><td class="ctr1" id="f2">1</td><td class="ctr2" id="g3">5</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">15</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><t
 r><td id="a2"><a href="BlockLZ4CompressorOutputStream.java.html#L83" class="el_method">BlockLZ4CompressorOutputStream(OutputStream)</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="33" height="10" title="42" alt="42"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g9">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i5">9</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a3"><a href="BlockLZ4CompressorOutputStream.java.html#L181" class="el_method">clearUnusedBlocks()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="33" height="10" title="42" alt="42"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d4"><img src="../jacoco-resources/greenbar.gif" width="40" height="10" title="6" alt="6"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f5">0</td><td clas
 s="ctr2" id="g4">4</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i4">12</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a7"><a href="BlockLZ4CompressorOutputStream.java.html#L201" class="el_method">expand(int, int)</a></td><td class="bar" id="b6"><img src="../jacoco-resources/greenbar.gif" width="24" height="10" title="31" alt="31"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d5"><img src="../jacoco-resources/greenbar.gif" width="26" height="10" title="4" alt="4"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g5">3</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i6">9</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a16"><a href="BlockLZ4CompressorOutputStream.java.html#L273" class="el_method">writeFinalLiteralBlock()</a></td><td class="bar" id="b7"><img src="../jacoco-resources/greenbar.gif" width="19" height="10" title="25" alt="25"/></
 td><td class="ctr2" id="c5">100%</td><td class="bar" id="d6"><img src="../jacoco-resources/greenbar.gif" width="26" height="10" title="4" alt="4"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g6">3</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i7">7</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a15"><a href="BlockLZ4CompressorOutputStream.java.html#L162" class="el_method">writeBlocksAndReturnUnfinishedPair(int)</a></td><td class="bar" id="b8"><img src="../jacoco-resources/greenbar.gif" width="18" height="10" title="23" alt="23"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d7"><img src="../jacoco-resources/greenbar.gif" width="26" height="10" title="4" alt="4"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g7">3</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i8">6</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1
 </td></tr><tr><td id="a0"><a href="BlockLZ4CompressorOutputStream.java.html#L155" class="el_method">addBackReference(LZ77Compressor.BackReference)</a></td><td class="bar" id="b9"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="14" alt="14"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g10">1</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">5</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a14"><a href="BlockLZ4CompressorOutputStream.java.html#L121" class="el_method">write(int)</a></td><td class="bar" id="b10"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="13" alt="13"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g11">1</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="
 i12">3</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a1"><a href="BlockLZ4CompressorOutputStream.java.html#L149" class="el_method">addLiteralBlock(LZ77Compressor.LiteralBlock)</a></td><td class="bar" id="b11"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="13" alt="13"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g12">1</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i10">4</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a9"><a href="BlockLZ4CompressorOutputStream.java.html#L142" class="el_method">finish()</a></td><td class="bar" id="b12"><img src="../jacoco-resources/greenbar.gif" width="7" height="10" title="10" alt="10"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d8"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="2" alt="
 2"/></td><td class="ctr2" id="e5">100%</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g8">2</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i11">4</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a10"><a href="BlockLZ4CompressorOutputStream.java.html#L197" class="el_method">recordBackReference(LZ77Compressor.BackReference)</a></td><td class="bar" id="b13"><img src="../jacoco-resources/greenbar.gif" width="7" height="10" title="10" alt="10"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g13">1</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i15">2</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a13"><a href="BlockLZ4CompressorOutputStream.java.html#L127" class="el_method">write(byte[], int, int)</a></td><td class="bar" id="b14"><img src="../jacoco-resources/greenbar.gif" width="5
 " height="10" title="7" alt="7"/></td><td class="ctr2" id="c12">100%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i16">2</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a6"><a href="BlockLZ4CompressorOutputStream.java.html#L132" class="el_method">close()</a></td><td class="bar" id="b15"><img src="../jacoco-resources/greenbar.gif" width="4" height="10" title="6" alt="6"/></td><td class="ctr2" id="c13">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i13">3</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr><tr><td id="a11"><a href="BlockLZ4CompressorOutputStream.java.html#L172" class="el_method">recordLiteral(byte[])</a></td><td class="bar" id="b16"><img src
 ="../jacoco-resources/greenbar.gif" width="3" height="10" title="5" alt="5"/></td><td class="ctr2" id="c14">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td class="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i17">2</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a4"><a href="BlockLZ4CompressorOutputStream.java.html#L176" class="el_method">clearUnusedBlocksAndPairs()</a></td><td class="bar" id="b17"><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="5" alt="5"/></td><td class="ctr2" id="c15">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i14">3</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.e
 clemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/BlockLZ4CompressorOutputStream.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/BlockLZ4CompressorOutputStream.java.html (original)
+++ websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/BlockLZ4CompressorOutputStream.java.html Sat Feb  4 16:19:37 2017
@@ -24,7 +24,6 @@ import java.util.Arrays;
 import java.util.Deque;
 import java.util.Iterator;
 import java.util.LinkedList;
-import java.util.List;
 
 import org.apache.commons.compress.compressors.CompressorOutputStream;
 import org.apache.commons.compress.compressors.lz77support.LZ77Compressor;
@@ -81,14 +80,14 @@ public class BlockLZ4CompressorOutputStr
     private final OutputStream os;
 
     // used in one-arg write method
-<span class="fc" id="L84">    private final byte[] oneByte = new byte[1];</span>
+<span class="fc" id="L83">    private final byte[] oneByte = new byte[1];</span>
 
-<span class="fc" id="L86">    private boolean finished = false;</span>
+<span class="fc" id="L85">    private boolean finished = false;</span>
 
-<span class="fc" id="L88">    private Deque&lt;Pair&gt; pairs = new LinkedList&lt;&gt;();</span>
+<span class="fc" id="L87">    private Deque&lt;Pair&gt; pairs = new LinkedList&lt;&gt;();</span>
     // keeps track of the last window-size bytes (64k) in order to be
     // able to expand back-references when needed
-<span class="fc" id="L91">    private Deque&lt;byte[]&gt; expandedBlocks = new LinkedList&lt;&gt;();</span>
+<span class="fc" id="L90">    private Deque&lt;byte[]&gt; expandedBlocks = new LinkedList&lt;&gt;();</span>
 
     /**
      * Creates a new LZ4 output stream.
@@ -98,41 +97,41 @@ public class BlockLZ4CompressorOutputStr
      *
      * @throws IOException if reading fails
      */
-<span class="fc" id="L101">    public BlockLZ4CompressorOutputStream(final OutputStream os) throws IOException {</span>
-<span class="fc" id="L102">        this.os = os;</span>
-<span class="fc" id="L103">        int maxLen = BlockLZ4CompressorInputStream.WINDOW_SIZE - 1;</span>
-<span class="fc" id="L104">        compressor = new LZ77Compressor(new Parameters(BlockLZ4CompressorInputStream.WINDOW_SIZE,</span>
+<span class="fc" id="L100">    public BlockLZ4CompressorOutputStream(final OutputStream os) throws IOException {</span>
+<span class="fc" id="L101">        this.os = os;</span>
+<span class="fc" id="L102">        int maxLen = BlockLZ4CompressorInputStream.WINDOW_SIZE - 1;</span>
+<span class="fc" id="L103">        compressor = new LZ77Compressor(new Parameters(BlockLZ4CompressorInputStream.WINDOW_SIZE,</span>
             MIN_BACK_REFERENCE_LENGTH, maxLen, maxLen, maxLen),
-<span class="fc" id="L106">            new LZ77Compressor.Callback() {</span>
+<span class="fc" id="L105">            new LZ77Compressor.Callback() {</span>
                 public void accept(LZ77Compressor.Block block) throws IOException {
                     //System.err.println(block);
-<span class="fc bfc" id="L109" title="All 2 branches covered.">                    if (block instanceof LZ77Compressor.LiteralBlock) {</span>
-<span class="fc" id="L110">                        addLiteralBlock((LZ77Compressor.LiteralBlock) block);</span>
-<span class="fc bfc" id="L111" title="All 2 branches covered.">                    } else if (block instanceof LZ77Compressor.BackReference) {</span>
-<span class="fc" id="L112">                        addBackReference((LZ77Compressor.BackReference) block);</span>
-<span class="pc bpc" id="L113" title="1 of 2 branches missed.">                    } else if (block instanceof LZ77Compressor.EOD) {</span>
-<span class="fc" id="L114">                        writeFinalLiteralBlock();</span>
+<span class="fc bfc" id="L108" title="All 2 branches covered.">                    if (block instanceof LZ77Compressor.LiteralBlock) {</span>
+<span class="fc" id="L109">                        addLiteralBlock((LZ77Compressor.LiteralBlock) block);</span>
+<span class="fc bfc" id="L110" title="All 2 branches covered.">                    } else if (block instanceof LZ77Compressor.BackReference) {</span>
+<span class="fc" id="L111">                        addBackReference((LZ77Compressor.BackReference) block);</span>
+<span class="pc bpc" id="L112" title="1 of 2 branches missed.">                    } else if (block instanceof LZ77Compressor.EOD) {</span>
+<span class="fc" id="L113">                        writeFinalLiteralBlock();</span>
                     }
-<span class="fc" id="L116">                }</span>
+<span class="fc" id="L115">                }</span>
             });
-<span class="fc" id="L118">    }</span>
+<span class="fc" id="L117">    }</span>
 
     @Override
     public void write(int b) throws IOException {
-<span class="fc" id="L122">        oneByte[0] = (byte) (b &amp; 0xff);</span>
-<span class="fc" id="L123">        write(oneByte);</span>
-<span class="fc" id="L124">    }</span>
+<span class="fc" id="L121">        oneByte[0] = (byte) (b &amp; 0xff);</span>
+<span class="fc" id="L122">        write(oneByte);</span>
+<span class="fc" id="L123">    }</span>
 
     @Override
     public void write(byte[] data, int off, int len) throws IOException {
-<span class="fc" id="L128">        compressor.compress(data, off, len);</span>
-<span class="fc" id="L129">    }</span>
+<span class="fc" id="L127">        compressor.compress(data, off, len);</span>
+<span class="fc" id="L128">    }</span>
 
     @Override
     public void close() throws IOException {
-<span class="fc" id="L133">        finish();</span>
-<span class="fc" id="L134">        os.close();</span>
-<span class="fc" id="L135">    }</span>
+<span class="fc" id="L132">        finish();</span>
+<span class="fc" id="L133">        os.close();</span>
+<span class="fc" id="L134">    }</span>
 
     /**
      * Compresses all remaining data and writes it to the stream,
@@ -140,184 +139,188 @@ public class BlockLZ4CompressorOutputStr
      * @throws IOException if an error occurs
      */
     public void finish() throws IOException {
-<span class="fc bfc" id="L143" title="All 2 branches covered.">        if (!finished) {</span>
-<span class="fc" id="L144">            compressor.finish();</span>
-<span class="fc" id="L145">            finished = true;</span>
+<span class="fc bfc" id="L142" title="All 2 branches covered.">        if (!finished) {</span>
+<span class="fc" id="L143">            compressor.finish();</span>
+<span class="fc" id="L144">            finished = true;</span>
         }
-<span class="fc" id="L147">    }</span>
+<span class="fc" id="L146">    }</span>
 
     private void addLiteralBlock(LZ77Compressor.LiteralBlock block) throws IOException {
-<span class="fc" id="L150">        Pair last = writeBlocksAndReturnUnfinishedPair(block.getLength());</span>
-<span class="fc" id="L151">        recordLiteral(last.addLiteral(block));</span>
-<span class="fc" id="L152">        clearUnusedBlocksAndPairs();</span>
-<span class="fc" id="L153">    }</span>
+<span class="fc" id="L149">        Pair last = writeBlocksAndReturnUnfinishedPair(block.getLength());</span>
+<span class="fc" id="L150">        recordLiteral(last.addLiteral(block));</span>
+<span class="fc" id="L151">        clearUnusedBlocksAndPairs();</span>
+<span class="fc" id="L152">    }</span>
 
     private void addBackReference(LZ77Compressor.BackReference block) throws IOException {
-<span class="fc" id="L156">        Pair last = writeBlocksAndReturnUnfinishedPair(block.getLength());</span>
-<span class="fc" id="L157">        last.setBackReference(block);</span>
-<span class="fc" id="L158">        recordBackReference(block);</span>
-<span class="fc" id="L159">        clearUnusedBlocksAndPairs();</span>
-<span class="fc" id="L160">    }</span>
+<span class="fc" id="L155">        Pair last = writeBlocksAndReturnUnfinishedPair(block.getLength());</span>
+<span class="fc" id="L156">        last.setBackReference(block);</span>
+<span class="fc" id="L157">        recordBackReference(block);</span>
+<span class="fc" id="L158">        clearUnusedBlocksAndPairs();</span>
+<span class="fc" id="L159">    }</span>
 
     private Pair writeBlocksAndReturnUnfinishedPair(int length) throws IOException {
-<span class="fc" id="L163">        writeWritablePairs(length);</span>
-<span class="fc" id="L164">        Pair last = pairs.peekLast();</span>
-<span class="fc bfc" id="L165" title="All 4 branches covered.">        if (last == null || last.hasBackReference()) {</span>
-<span class="fc" id="L166">            last = new Pair();</span>
-<span class="fc" id="L167">            pairs.addLast(last);</span>
+<span class="fc" id="L162">        writeWritablePairs(length);</span>
+<span class="fc" id="L163">        Pair last = pairs.peekLast();</span>
+<span class="fc bfc" id="L164" title="All 4 branches covered.">        if (last == null || last.hasBackReference()) {</span>
+<span class="fc" id="L165">            last = new Pair();</span>
+<span class="fc" id="L166">            pairs.addLast(last);</span>
         }
-<span class="fc" id="L169">        return last;</span>
+<span class="fc" id="L168">        return last;</span>
     }
 
     private void recordLiteral(byte[] b) {
-<span class="fc" id="L173">        expandedBlocks.addFirst(b);</span>
-<span class="fc" id="L174">    }</span>
+<span class="fc" id="L172">        expandedBlocks.addFirst(b);</span>
+<span class="fc" id="L173">    }</span>
 
     private void clearUnusedBlocksAndPairs() {
-<span class="fc" id="L177">        clearUnusedBlocks();</span>
-<span class="fc" id="L178">        clearUnusedPairs();</span>
-<span class="fc" id="L179">    }</span>
+<span class="fc" id="L176">        clearUnusedBlocks();</span>
+<span class="fc" id="L177">        clearUnusedPairs();</span>
+<span class="fc" id="L178">    }</span>
 
     private void clearUnusedBlocks() {
-<span class="fc" id="L182">        int blockLengths = 0;</span>
-<span class="fc" id="L183">        int blocksToKeep = 0;</span>
-<span class="fc bfc" id="L184" title="All 2 branches covered.">        for (byte[] b : expandedBlocks) {</span>
-<span class="fc" id="L185">            blocksToKeep++;</span>
-<span class="fc" id="L186">            blockLengths += b.length;</span>
-<span class="fc bfc" id="L187" title="All 2 branches covered.">            if (blockLengths &gt;= BlockLZ4CompressorInputStream.WINDOW_SIZE) {</span>
-<span class="fc" id="L188">                break;</span>
-            }
-<span class="fc" id="L190">        }</span>
-<span class="fc" id="L191">        final int size = expandedBlocks.size();</span>
-<span class="fc bfc" id="L192" title="All 2 branches covered.">        for (int i = blocksToKeep; i &lt; size; i++) {</span>
-<span class="fc" id="L193">            expandedBlocks.removeLast();</span>
+<span class="fc" id="L181">        int blockLengths = 0;</span>
+<span class="fc" id="L182">        int blocksToKeep = 0;</span>
+<span class="fc bfc" id="L183" title="All 2 branches covered.">        for (byte[] b : expandedBlocks) {</span>
+<span class="fc" id="L184">            blocksToKeep++;</span>
+<span class="fc" id="L185">            blockLengths += b.length;</span>
+<span class="fc bfc" id="L186" title="All 2 branches covered.">            if (blockLengths &gt;= BlockLZ4CompressorInputStream.WINDOW_SIZE) {</span>
+<span class="fc" id="L187">                break;</span>
+            }
+<span class="fc" id="L189">        }</span>
+<span class="fc" id="L190">        final int size = expandedBlocks.size();</span>
+<span class="fc bfc" id="L191" title="All 2 branches covered.">        for (int i = blocksToKeep; i &lt; size; i++) {</span>
+<span class="fc" id="L192">            expandedBlocks.removeLast();</span>
         }
-<span class="fc" id="L195">    }</span>
+<span class="fc" id="L194">    }</span>
 
     private void recordBackReference(LZ77Compressor.BackReference block) {
-<span class="fc" id="L198">        expandedBlocks.addFirst(expand(block.getOffset(), block.getLength()));</span>
-<span class="fc" id="L199">    }</span>
+<span class="fc" id="L197">        expandedBlocks.addFirst(expand(block.getOffset(), block.getLength()));</span>
+<span class="fc" id="L198">    }</span>
 
     private byte[] expand(final int offset, final int length) {
-<span class="fc" id="L202">        byte[] expanded = new byte[length];</span>
-<span class="fc bfc" id="L203" title="All 2 branches covered.">        if (offset == 1) { // surprisingly common special case</span>
-<span class="fc" id="L204">            byte[] block = expandedBlocks.peekFirst();</span>
-<span class="fc" id="L205">            byte b = block[block.length - 1];</span>
-<span class="fc bfc" id="L206" title="All 2 branches covered.">            if (b != 0) { // the fresh array contains 0s anyway</span>
-<span class="fc" id="L207">                Arrays.fill(expanded, b);</span>
+<span class="fc" id="L201">        byte[] expanded = new byte[length];</span>
+<span class="fc bfc" id="L202" title="All 2 branches covered.">        if (offset == 1) { // surprisingly common special case</span>
+<span class="fc" id="L203">            byte[] block = expandedBlocks.peekFirst();</span>
+<span class="fc" id="L204">            byte b = block[block.length - 1];</span>
+<span class="fc bfc" id="L205" title="All 2 branches covered.">            if (b != 0) { // the fresh array contains 0s anyway</span>
+<span class="fc" id="L206">                Arrays.fill(expanded, b);</span>
             }
-<span class="fc" id="L209">        } else {</span>
-<span class="fc" id="L210">            expandFromList(expanded, offset, length);</span>
+<span class="fc" id="L208">        } else {</span>
+<span class="fc" id="L209">            expandFromList(expanded, offset, length);</span>
         }
-<span class="fc" id="L212">        return expanded;</span>
+<span class="fc" id="L211">        return expanded;</span>
     }
 
     private void expandFromList(final byte[] expanded, int offset, int length) {
-<span class="fc" id="L216">        int offsetRemaining = offset;</span>
-<span class="fc" id="L217">        int lengthRemaining = length;</span>
-<span class="fc" id="L218">        int writeOffset = 0;</span>
-<span class="fc bfc" id="L219" title="All 2 branches covered.">        while (lengthRemaining &gt; 0) {</span>
+<span class="fc" id="L215">        int offsetRemaining = offset;</span>
+<span class="fc" id="L216">        int lengthRemaining = length;</span>
+<span class="fc" id="L217">        int writeOffset = 0;</span>
+<span class="fc bfc" id="L218" title="All 2 branches covered.">        while (lengthRemaining &gt; 0) {</span>
             // find block that contains offsetRemaining
-<span class="fc" id="L221">            byte[] block = null;</span>
+<span class="fc" id="L220">            byte[] block = null;</span>
             int copyLen, copyOffset;
-<span class="fc bfc" id="L223" title="All 2 branches covered.">            if (offsetRemaining &gt; 0) {</span>
-<span class="fc" id="L224">                int blockOffset = 0;</span>
-<span class="pc bpc" id="L225" title="1 of 2 branches missed.">                for (byte[] b : expandedBlocks) {</span>
-<span class="fc bfc" id="L226" title="All 2 branches covered.">                    if (b.length + blockOffset &gt;= offsetRemaining) {</span>
-<span class="fc" id="L227">                        block = b;</span>
-<span class="fc" id="L228">                        break;</span>
+<span class="fc bfc" id="L222" title="All 2 branches covered.">            if (offsetRemaining &gt; 0) {</span>
+<span class="fc" id="L223">                int blockOffset = 0;</span>
+<span class="pc bpc" id="L224" title="1 of 2 branches missed.">                for (byte[] b : expandedBlocks) {</span>
+<span class="fc bfc" id="L225" title="All 2 branches covered.">                    if (b.length + blockOffset &gt;= offsetRemaining) {</span>
+<span class="fc" id="L226">                        block = b;</span>
+<span class="fc" id="L227">                        break;</span>
                     }
-<span class="fc" id="L230">                    blockOffset += b.length;</span>
-<span class="fc" id="L231">                }</span>
-<span class="fc" id="L232">                copyOffset = blockOffset + block.length - offsetRemaining;</span>
-<span class="fc" id="L233">                copyLen = Math.min(lengthRemaining, block.length - copyOffset);</span>
-<span class="fc" id="L234">            } else {</span>
+<span class="fc" id="L229">                    blockOffset += b.length;</span>
+<span class="fc" id="L230">                }</span>
+<span class="pc bpc" id="L231" title="1 of 2 branches missed.">                if (block == null) {</span>
+                    // should not be possible
+<span class="nc" id="L233">                    throw new IllegalStateException(&quot;failed to find a block containing offset &quot; + offset);</span>
+                }
+<span class="fc" id="L235">                copyOffset = blockOffset + block.length - offsetRemaining;</span>
+<span class="fc" id="L236">                copyLen = Math.min(lengthRemaining, block.length - copyOffset);</span>
+<span class="fc" id="L237">            } else {</span>
                 // offsetRemaining is negative and points into the expanded bytes
-<span class="fc" id="L236">                block = expanded;</span>
-<span class="fc" id="L237">                copyOffset = writeOffset  + offsetRemaining;</span>
-<span class="fc" id="L238">                copyLen = Math.min(lengthRemaining, writeOffset + offsetRemaining);</span>
-            }
-<span class="fc" id="L240">            System.arraycopy(block, copyOffset, expanded, writeOffset, copyLen);</span>
-<span class="fc" id="L241">            offsetRemaining -= copyLen;</span>
-<span class="fc" id="L242">            lengthRemaining -= copyLen;</span>
-<span class="fc" id="L243">            writeOffset += copyLen;</span>
-<span class="fc" id="L244">        }</span>
-<span class="fc" id="L245">    }</span>
+<span class="fc" id="L239">                block = expanded;</span>
+<span class="fc" id="L240">                copyOffset = writeOffset  + offsetRemaining;</span>
+<span class="fc" id="L241">                copyLen = Math.min(lengthRemaining, writeOffset + offsetRemaining);</span>
+            }
+<span class="fc" id="L243">            System.arraycopy(block, copyOffset, expanded, writeOffset, copyLen);</span>
+<span class="fc" id="L244">            offsetRemaining -= copyLen;</span>
+<span class="fc" id="L245">            lengthRemaining -= copyLen;</span>
+<span class="fc" id="L246">            writeOffset += copyLen;</span>
+<span class="fc" id="L247">        }</span>
+<span class="fc" id="L248">    }</span>
 
     private void clearUnusedPairs() {
-<span class="fc" id="L248">        int pairLengths = 0;</span>
-<span class="fc" id="L249">        int pairsToKeep = 0;</span>
-<span class="fc bfc" id="L250" title="All 2 branches covered.">        for (Iterator&lt;Pair&gt; it = pairs.descendingIterator(); it.hasNext(); ) {</span>
-<span class="fc" id="L251">            Pair p = it.next();</span>
-<span class="fc" id="L252">            pairsToKeep++;</span>
-<span class="fc" id="L253">            pairLengths += p.length();</span>
-<span class="fc bfc" id="L254" title="All 2 branches covered.">            if (pairLengths &gt;= BlockLZ4CompressorInputStream.WINDOW_SIZE) {</span>
-<span class="fc" id="L255">                break;</span>
-            }
-<span class="fc" id="L257">        }</span>
-<span class="fc" id="L258">        final int size = pairs.size();</span>
-<span class="fc bfc" id="L259" title="All 2 branches covered.">        for (int i = pairsToKeep; i &lt; size; i++) {</span>
-<span class="fc" id="L260">            Pair p = pairs.peekFirst();</span>
-<span class="pc bpc" id="L261" title="1 of 2 branches missed.">            if (p.hasBeenWritten()) {</span>
-<span class="fc" id="L262">                pairs.removeFirst();</span>
+<span class="fc" id="L251">        int pairLengths = 0;</span>
+<span class="fc" id="L252">        int pairsToKeep = 0;</span>
+<span class="fc bfc" id="L253" title="All 2 branches covered.">        for (Iterator&lt;Pair&gt; it = pairs.descendingIterator(); it.hasNext(); ) {</span>
+<span class="fc" id="L254">            Pair p = it.next();</span>
+<span class="fc" id="L255">            pairsToKeep++;</span>
+<span class="fc" id="L256">            pairLengths += p.length();</span>
+<span class="fc bfc" id="L257" title="All 2 branches covered.">            if (pairLengths &gt;= BlockLZ4CompressorInputStream.WINDOW_SIZE) {</span>
+<span class="fc" id="L258">                break;</span>
+            }
+<span class="fc" id="L260">        }</span>
+<span class="fc" id="L261">        final int size = pairs.size();</span>
+<span class="fc bfc" id="L262" title="All 2 branches covered.">        for (int i = pairsToKeep; i &lt; size; i++) {</span>
+<span class="fc" id="L263">            Pair p = pairs.peekFirst();</span>
+<span class="pc bpc" id="L264" title="1 of 2 branches missed.">            if (p.hasBeenWritten()) {</span>
+<span class="fc" id="L265">                pairs.removeFirst();</span>
             } else {
                 break;
             }
         }
-<span class="fc" id="L267">    }</span>
+<span class="fc" id="L270">    }</span>
 
     private void writeFinalLiteralBlock() throws IOException {
-<span class="fc" id="L270">        rewriteLastPairs();</span>
-<span class="fc bfc" id="L271" title="All 2 branches covered.">        for (Pair p : pairs) {</span>
-<span class="fc bfc" id="L272" title="All 2 branches covered.">            if (!p.hasBeenWritten()) {</span>
-<span class="fc" id="L273">                p.writeTo(os);</span>
-            }
-<span class="fc" id="L275">        }</span>
-<span class="fc" id="L276">        pairs.clear();</span>
-<span class="fc" id="L277">    }</span>
+<span class="fc" id="L273">        rewriteLastPairs();</span>
+<span class="fc bfc" id="L274" title="All 2 branches covered.">        for (Pair p : pairs) {</span>
+<span class="fc bfc" id="L275" title="All 2 branches covered.">            if (!p.hasBeenWritten()) {</span>
+<span class="fc" id="L276">                p.writeTo(os);</span>
+            }
+<span class="fc" id="L278">        }</span>
+<span class="fc" id="L279">        pairs.clear();</span>
+<span class="fc" id="L280">    }</span>
 
     private void writeWritablePairs(int lengthOfBlocksAfterLastPair) throws IOException {
-<span class="fc" id="L280">        int unwrittenLength = lengthOfBlocksAfterLastPair;</span>
-<span class="fc bfc" id="L281" title="All 2 branches covered.">        for (Iterator&lt;Pair&gt; it = pairs.descendingIterator(); it.hasNext(); ) {</span>
-<span class="fc" id="L282">            Pair p = it.next();</span>
-<span class="fc bfc" id="L283" title="All 2 branches covered.">            if (p.hasBeenWritten()) {</span>
-<span class="fc" id="L284">                break;</span>
-            }
-<span class="fc" id="L286">            unwrittenLength += p.length();</span>
-<span class="fc" id="L287">        }</span>
-<span class="fc bfc" id="L288" title="All 2 branches covered.">        for (Pair p : pairs) {</span>
-<span class="fc bfc" id="L289" title="All 2 branches covered.">            if (p.hasBeenWritten()) {</span>
-<span class="fc" id="L290">                continue;</span>
-            }
-<span class="fc" id="L292">            unwrittenLength -= p.length();</span>
-<span class="fc bfc" id="L293" title="All 2 branches covered.">            if (p.canBeWritten(unwrittenLength)) {</span>
-<span class="fc" id="L294">                p.writeTo(os);</span>
+<span class="fc" id="L283">        int unwrittenLength = lengthOfBlocksAfterLastPair;</span>
+<span class="fc bfc" id="L284" title="All 2 branches covered.">        for (Iterator&lt;Pair&gt; it = pairs.descendingIterator(); it.hasNext(); ) {</span>
+<span class="fc" id="L285">            Pair p = it.next();</span>
+<span class="fc bfc" id="L286" title="All 2 branches covered.">            if (p.hasBeenWritten()) {</span>
+<span class="fc" id="L287">                break;</span>
+            }
+<span class="fc" id="L289">            unwrittenLength += p.length();</span>
+<span class="fc" id="L290">        }</span>
+<span class="fc bfc" id="L291" title="All 2 branches covered.">        for (Pair p : pairs) {</span>
+<span class="fc bfc" id="L292" title="All 2 branches covered.">            if (p.hasBeenWritten()) {</span>
+<span class="fc" id="L293">                continue;</span>
+            }
+<span class="fc" id="L295">            unwrittenLength -= p.length();</span>
+<span class="fc bfc" id="L296" title="All 2 branches covered.">            if (p.canBeWritten(unwrittenLength)) {</span>
+<span class="fc" id="L297">                p.writeTo(os);</span>
             } else {
                 break;
             }
-<span class="fc" id="L298">        }</span>
-<span class="fc" id="L299">    }</span>
+<span class="fc" id="L301">        }</span>
+<span class="fc" id="L302">    }</span>
 
     private void rewriteLastPairs() {
-<span class="fc" id="L302">        LinkedList&lt;Pair&gt; lastPairs = new LinkedList&lt;&gt;();</span>
-<span class="fc" id="L303">        LinkedList&lt;Integer&gt; pairLength = new LinkedList&lt;&gt;();</span>
-<span class="fc" id="L304">        int offset = 0;</span>
-<span class="fc bfc" id="L305" title="All 2 branches covered.">        for (Iterator&lt;Pair&gt; it = pairs.descendingIterator(); it.hasNext(); ) {</span>
-<span class="fc" id="L306">            Pair p = it.next();</span>
-<span class="pc bpc" id="L307" title="1 of 2 branches missed.">            if (p.hasBeenWritten()) {</span>
-<span class="nc" id="L308">                break;</span>
-            }
-<span class="fc" id="L310">            int len = p.length();</span>
-<span class="fc" id="L311">            pairLength.addFirst(len);</span>
-<span class="fc" id="L312">            lastPairs.addFirst(p);</span>
-<span class="fc" id="L313">            offset += len;</span>
-<span class="fc bfc" id="L314" title="All 2 branches covered.">            if (offset &gt;= MIN_OFFSET_OF_LAST_BACK_REFERENCE) {</span>
-<span class="fc" id="L315">                break;</span>
-            }
-<span class="fc" id="L317">        }</span>
-<span class="fc bfc" id="L318" title="All 2 branches covered.">        for (Pair p : lastPairs) {</span>
-<span class="fc" id="L319">            pairs.remove(p);</span>
+<span class="fc" id="L305">        LinkedList&lt;Pair&gt; lastPairs = new LinkedList&lt;&gt;();</span>
+<span class="fc" id="L306">        LinkedList&lt;Integer&gt; pairLength = new LinkedList&lt;&gt;();</span>
+<span class="fc" id="L307">        int offset = 0;</span>
+<span class="fc bfc" id="L308" title="All 2 branches covered.">        for (Iterator&lt;Pair&gt; it = pairs.descendingIterator(); it.hasNext(); ) {</span>
+<span class="fc" id="L309">            Pair p = it.next();</span>
+<span class="pc bpc" id="L310" title="1 of 2 branches missed.">            if (p.hasBeenWritten()) {</span>
+<span class="nc" id="L311">                break;</span>
+            }
+<span class="fc" id="L313">            int len = p.length();</span>
+<span class="fc" id="L314">            pairLength.addFirst(len);</span>
+<span class="fc" id="L315">            lastPairs.addFirst(p);</span>
+<span class="fc" id="L316">            offset += len;</span>
+<span class="fc bfc" id="L317" title="All 2 branches covered.">            if (offset &gt;= MIN_OFFSET_OF_LAST_BACK_REFERENCE) {</span>
+<span class="fc" id="L318">                break;</span>
+            }
 <span class="fc" id="L320">        }</span>
+<span class="fc bfc" id="L321" title="All 2 branches covered.">        for (Pair p : lastPairs) {</span>
+<span class="fc" id="L322">            pairs.remove(p);</span>
+<span class="fc" id="L323">        }</span>
         // lastPairs may contain between one and four Pairs:
         // * the last pair may be a one byte literal
         // * all other Pairs contain a back-reference which must be four bytes long at minimum
@@ -342,118 +345,118 @@ public class BlockLZ4CompressorOutputStr
         // only needs to be five bytes long if the previous
         // back-reference has an offset big enough
 
-<span class="fc" id="L345">        final int lastPairsSize = lastPairs.size();</span>
-<span class="fc" id="L346">        int toExpand = 0;</span>
-<span class="fc bfc" id="L347" title="All 2 branches covered.">        for (int i = 1; i &lt; lastPairsSize; i++) {</span>
-<span class="fc" id="L348">            toExpand += pairLength.get(i);</span>
-        }
-<span class="fc" id="L350">        Pair replacement = new Pair();</span>
-<span class="fc bfc" id="L351" title="All 2 branches covered.">        if (toExpand &gt; 0) {</span>
-<span class="fc" id="L352">            replacement.prependLiteral(expand(toExpand, toExpand));</span>
-        }
-<span class="fc" id="L354">        Pair splitCandidate = lastPairs.get(0);</span>
-<span class="fc" id="L355">        int stillNeeded = MIN_OFFSET_OF_LAST_BACK_REFERENCE - toExpand;</span>
-<span class="fc bfc" id="L356" title="All 2 branches covered.">        if (splitCandidate.hasBackReference()</span>
-<span class="fc bfc" id="L357" title="All 2 branches covered.">            &amp;&amp; splitCandidate.backReferenceLength() &gt;= MIN_BACK_REFERENCE_LENGTH + stillNeeded) {</span>
-<span class="fc" id="L358">            replacement.prependLiteral(expand(toExpand + stillNeeded, stillNeeded));</span>
-<span class="fc" id="L359">            pairs.add(splitCandidate.splitWithNewBackReferenceLengthOf(splitCandidate.backReferenceLength()</span>
+<span class="fc" id="L348">        final int lastPairsSize = lastPairs.size();</span>
+<span class="fc" id="L349">        int toExpand = 0;</span>
+<span class="fc bfc" id="L350" title="All 2 branches covered.">        for (int i = 1; i &lt; lastPairsSize; i++) {</span>
+<span class="fc" id="L351">            toExpand += pairLength.get(i);</span>
+        }
+<span class="fc" id="L353">        Pair replacement = new Pair();</span>
+<span class="fc bfc" id="L354" title="All 2 branches covered.">        if (toExpand &gt; 0) {</span>
+<span class="fc" id="L355">            replacement.prependLiteral(expand(toExpand, toExpand));</span>
+        }
+<span class="fc" id="L357">        Pair splitCandidate = lastPairs.get(0);</span>
+<span class="fc" id="L358">        int stillNeeded = MIN_OFFSET_OF_LAST_BACK_REFERENCE - toExpand;</span>
+<span class="fc bfc" id="L359" title="All 2 branches covered.">        if (splitCandidate.hasBackReference()</span>
+<span class="fc bfc" id="L360" title="All 2 branches covered.">            &amp;&amp; splitCandidate.backReferenceLength() &gt;= MIN_BACK_REFERENCE_LENGTH + stillNeeded) {</span>
+<span class="fc" id="L361">            replacement.prependLiteral(expand(toExpand + stillNeeded, stillNeeded));</span>
+<span class="fc" id="L362">            pairs.add(splitCandidate.splitWithNewBackReferenceLengthOf(splitCandidate.backReferenceLength()</span>
                 - stillNeeded));
         } else {
-<span class="fc bfc" id="L362" title="All 2 branches covered.">            if (splitCandidate.hasBackReference()) {</span>
-<span class="fc" id="L363">                int brLen = splitCandidate.backReferenceLength();</span>
-<span class="fc" id="L364">                replacement.prependLiteral(expand(toExpand + brLen, brLen));</span>
+<span class="fc bfc" id="L365" title="All 2 branches covered.">            if (splitCandidate.hasBackReference()) {</span>
+<span class="fc" id="L366">                int brLen = splitCandidate.backReferenceLength();</span>
+<span class="fc" id="L367">                replacement.prependLiteral(expand(toExpand + brLen, brLen));</span>
             }
-<span class="fc" id="L366">            splitCandidate.prependTo(replacement);</span>
+<span class="fc" id="L369">            splitCandidate.prependTo(replacement);</span>
         }
-<span class="fc" id="L368">        pairs.add(replacement);</span>
-<span class="fc" id="L369">    }</span>
+<span class="fc" id="L371">        pairs.add(replacement);</span>
+<span class="fc" id="L372">    }</span>
 
-<span class="fc" id="L371">    final static class Pair {</span>
-<span class="fc" id="L372">        private final Deque&lt;byte[]&gt; literals = new LinkedList&lt;&gt;();</span>
+<span class="fc" id="L374">    final static class Pair {</span>
+<span class="fc" id="L375">        private final Deque&lt;byte[]&gt; literals = new LinkedList&lt;&gt;();</span>
         private int brOffset, brLength;
         private boolean written;
 
         private void prependLiteral(byte[] data) {
-<span class="fc" id="L377">            literals.addFirst(data);</span>
-<span class="fc" id="L378">        }</span>
+<span class="fc" id="L380">            literals.addFirst(data);</span>
+<span class="fc" id="L381">        }</span>
         byte[] addLiteral(LZ77Compressor.LiteralBlock block) {
-<span class="fc" id="L380">            byte[] copy = Arrays.copyOfRange(block.getData(), block.getOffset(),</span>
-<span class="fc" id="L381">                block.getOffset() + block.getLength());</span>
-<span class="fc" id="L382">            literals.add(copy);</span>
-<span class="fc" id="L383">            return copy;</span>
+<span class="fc" id="L383">            byte[] copy = Arrays.copyOfRange(block.getData(), block.getOffset(),</span>
+<span class="fc" id="L384">                block.getOffset() + block.getLength());</span>
+<span class="fc" id="L385">            literals.add(copy);</span>
+<span class="fc" id="L386">            return copy;</span>
         }
         void setBackReference(LZ77Compressor.BackReference block) {
-<span class="pc bpc" id="L386" title="1 of 2 branches missed.">            if (hasBackReference()) {</span>
-<span class="nc" id="L387">                throw new IllegalStateException();</span>
+<span class="pc bpc" id="L389" title="1 of 2 branches missed.">            if (hasBackReference()) {</span>
+<span class="nc" id="L390">                throw new IllegalStateException();</span>
             }
-<span class="fc" id="L389">            brOffset = block.getOffset();</span>
-<span class="fc" id="L390">            brLength = block.getLength();</span>
-<span class="fc" id="L391">        }</span>
+<span class="fc" id="L392">            brOffset = block.getOffset();</span>
+<span class="fc" id="L393">            brLength = block.getLength();</span>
+<span class="fc" id="L394">        }</span>
         boolean hasBackReference() {
-<span class="fc bfc" id="L393" title="All 2 branches covered.">            return brOffset &gt; 0;</span>
+<span class="fc bfc" id="L396" title="All 2 branches covered.">            return brOffset &gt; 0;</span>
         }
         boolean canBeWritten(int lengthOfBlocksAfterThisPair) {
-<span class="fc bfc" id="L396" title="All 4 branches covered.">            return hasBackReference()</span>
+<span class="fc bfc" id="L399" title="All 4 branches covered.">            return hasBackReference()</span>
                 &amp;&amp; lengthOfBlocksAfterThisPair &gt;= MIN_OFFSET_OF_LAST_BACK_REFERENCE + MIN_BACK_REFERENCE_LENGTH;
         }
         int length() {
-<span class="fc" id="L400">            return literalLength() + brLength;</span>
+<span class="fc" id="L403">            return literalLength() + brLength;</span>
         }
         private boolean hasBeenWritten() {
-<span class="fc" id="L403">            return written;</span>
+<span class="fc" id="L406">            return written;</span>
         }
         void writeTo(OutputStream out) throws IOException {
-<span class="fc" id="L406">            int litLength = literalLength();</span>
-<span class="fc" id="L407">            out.write(lengths(litLength, brLength));</span>
-<span class="fc bfc" id="L408" title="All 2 branches covered.">            if (litLength &gt;= BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK) {</span>
-<span class="fc" id="L409">                writeLength(litLength - BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK, out);</span>
-            }
-<span class="fc bfc" id="L411" title="All 2 branches covered.">            for (byte[] b : literals) {</span>
-<span class="fc" id="L412">                out.write(b);</span>
-<span class="fc" id="L413">            }</span>
-<span class="fc bfc" id="L414" title="All 2 branches covered.">            if (hasBackReference()) {</span>
-<span class="fc" id="L415">                ByteUtils.toLittleEndian(out, brOffset, 2);</span>
-<span class="fc bfc" id="L416" title="All 2 branches covered.">                if (brLength - MIN_BACK_REFERENCE_LENGTH &gt;= BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK) {</span>
-<span class="fc" id="L417">                    writeLength(brLength - MIN_BACK_REFERENCE_LENGTH</span>
+<span class="fc" id="L409">            int litLength = literalLength();</span>
+<span class="fc" id="L410">            out.write(lengths(litLength, brLength));</span>
+<span class="fc bfc" id="L411" title="All 2 branches covered.">            if (litLength &gt;= BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK) {</span>
+<span class="fc" id="L412">                writeLength(litLength - BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK, out);</span>
+            }
+<span class="fc bfc" id="L414" title="All 2 branches covered.">            for (byte[] b : literals) {</span>
+<span class="fc" id="L415">                out.write(b);</span>
+<span class="fc" id="L416">            }</span>
+<span class="fc bfc" id="L417" title="All 2 branches covered.">            if (hasBackReference()) {</span>
+<span class="fc" id="L418">                ByteUtils.toLittleEndian(out, brOffset, 2);</span>
+<span class="fc bfc" id="L419" title="All 2 branches covered.">                if (brLength - MIN_BACK_REFERENCE_LENGTH &gt;= BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK) {</span>
+<span class="fc" id="L420">                    writeLength(brLength - MIN_BACK_REFERENCE_LENGTH</span>
                         - BlockLZ4CompressorInputStream.BACK_REFERENCE_SIZE_MASK, out);
                 }
             }
-<span class="fc" id="L421">            written = true;</span>
-<span class="fc" id="L422">        }</span>
+<span class="fc" id="L424">            written = true;</span>
+<span class="fc" id="L425">        }</span>
         private int literalLength() {
-<span class="fc" id="L424">            int length = 0;</span>
-<span class="fc bfc" id="L425" title="All 2 branches covered.">            for (byte[] b : literals) {</span>
-<span class="fc" id="L426">                length += b.length;</span>
-<span class="fc" id="L427">            }</span>
-<span class="fc" id="L428">            return length;</span>
+<span class="fc" id="L427">            int length = 0;</span>
+<span class="fc bfc" id="L428" title="All 2 branches covered.">            for (byte[] b : literals) {</span>
+<span class="fc" id="L429">                length += b.length;</span>
+<span class="fc" id="L430">            }</span>
+<span class="fc" id="L431">            return length;</span>
         }
         private static int lengths(int litLength, int brLength) {
-<span class="fc bfc" id="L431" title="All 2 branches covered.">            int l = litLength &lt; 15 ? litLength : 15;</span>
-<span class="fc bfc" id="L432" title="All 4 branches covered.">            int br = brLength &lt; 4 ? 0 : (brLength &lt; 19 ? brLength - 4 : 15);</span>
-<span class="fc" id="L433">            return (l &lt;&lt; BlockLZ4CompressorInputStream.SIZE_BITS) | br;</span>
+<span class="fc bfc" id="L434" title="All 2 branches covered.">            int l = litLength &lt; 15 ? litLength : 15;</span>
+<span class="fc bfc" id="L435" title="All 4 branches covered.">            int br = brLength &lt; 4 ? 0 : (brLength &lt; 19 ? brLength - 4 : 15);</span>
+<span class="fc" id="L436">            return (l &lt;&lt; BlockLZ4CompressorInputStream.SIZE_BITS) | br;</span>
         }
         private static void writeLength(int length, OutputStream out) throws IOException {
-<span class="fc bfc" id="L436" title="All 2 branches covered.">            while (length &gt;= 255) {</span>
-<span class="fc" id="L437">                out.write(255);</span>
-<span class="fc" id="L438">                length -= 255;</span>
+<span class="fc bfc" id="L439" title="All 2 branches covered.">            while (length &gt;= 255) {</span>
+<span class="fc" id="L440">                out.write(255);</span>
+<span class="fc" id="L441">                length -= 255;</span>
             }
-<span class="fc" id="L440">            out.write(length);</span>
-<span class="fc" id="L441">        }</span>
+<span class="fc" id="L443">            out.write(length);</span>
+<span class="fc" id="L444">        }</span>
         private int backReferenceLength() {
-<span class="fc" id="L443">            return brLength;</span>
+<span class="fc" id="L446">            return brLength;</span>
         }
         private void prependTo(Pair other) {
-<span class="fc" id="L446">            Iterator&lt;byte[]&gt; litsBackwards = literals.descendingIterator();</span>
-<span class="fc bfc" id="L447" title="All 2 branches covered.">            while (litsBackwards.hasNext()) {</span>
-<span class="fc" id="L448">                other.prependLiteral(litsBackwards.next());</span>
+<span class="fc" id="L449">            Iterator&lt;byte[]&gt; litsBackwards = literals.descendingIterator();</span>
+<span class="fc bfc" id="L450" title="All 2 branches covered.">            while (litsBackwards.hasNext()) {</span>
+<span class="fc" id="L451">                other.prependLiteral(litsBackwards.next());</span>
             }
-<span class="fc" id="L450">        }</span>
+<span class="fc" id="L453">        }</span>
         private Pair splitWithNewBackReferenceLengthOf(int newBackReferenceLength) {
-<span class="fc" id="L452">            Pair p = new Pair();</span>
-<span class="fc" id="L453">            p.literals.addAll(literals);</span>
-<span class="fc" id="L454">            p.brOffset = brOffset;</span>
-<span class="fc" id="L455">            p.brLength = newBackReferenceLength;</span>
-<span class="fc" id="L456">            return p;</span>
+<span class="fc" id="L455">            Pair p = new Pair();</span>
+<span class="fc" id="L456">            p.literals.addAll(literals);</span>
+<span class="fc" id="L457">            p.brOffset = brOffset;</span>
+<span class="fc" id="L458">            p.brLength = newBackReferenceLength;</span>
+<span class="fc" id="L459">            return p;</span>
         }
     }
 }

Modified: websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/FramedLZ4CompressorInputStream$1.html
==============================================================================
--- websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/FramedLZ4CompressorInputStream$1.html (original)
+++ websites/production/commons/content/proper/commons-compress/jacoco/org.apache.commons.compress.compressors.lz4/FramedLZ4CompressorInputStream$1.html Sat Feb  4 16:19:37 2017
@@ -1 +1 @@
-<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>FramedLZ4CompressorInputStream.new ByteUtils.ByteSupplier() {...}</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Compress</a> &gt; <a href="index.html" class="el_package">org.apache.commons.compress.compressors.lz4</a> &gt; <span class="el_class">FramedLZ4CompressorInputStream.ne
 w ByteUtils.ByteSupplier() {...}</span></div><h1>FramedLZ4CompressorInputStream.new ByteUtils.ByteSupplier() {...}</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead
 ><tfoot><tr><td>Total</td><td class="bar">0 of 10</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a1"><a href="FramedLZ4CompressorInputStream.java.html#L67" class="el_method">{...}</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="6" alt="6"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="FramedLZ4CompressorInputStream.java.html#L70" class="el_method">getAsByte()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="80" height="10" title
 ="4" alt="4"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>FramedLZ4CompressorInputStream.new ByteUtils.ByteSupplier() {...}</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Compress</a> &gt; <a href="index.html" class="el_package">org.apache.commons.compress.compressors.lz4</a> &gt; <span class="el_class">FramedLZ4CompressorInputStream.ne
 w ByteUtils.ByteSupplier() {...}</span></div><h1>FramedLZ4CompressorInputStream.new ByteUtils.ByteSupplier() {...}</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead
 ><tfoot><tr><td>Total</td><td class="bar">0 of 10</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a1"><a href="FramedLZ4CompressorInputStream.java.html#L66" class="el_method">{...}</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="6" alt="6"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="FramedLZ4CompressorInputStream.java.html#L69" class="el_method">getAsByte()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="80" height="10" title
 ="4" alt="4"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html>
\ No newline at end of file



Mime
View raw message