Skip to content

Commit

Permalink
Remove unused param from OCC, add puzzle for test
Browse files Browse the repository at this point in the history
  • Loading branch information
gsnoff committed Apr 28, 2019
1 parent 69cee32 commit 9e119ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/main/java/org/jpeek/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ public void save(final Path target) throws IOException {
* Make XML.
* @return XML
* @throws IOException If fails
* @todo #326:30min Add a test to check whether passing params to
* XSLDocument really works. Currently only C3 metric template
* is known to use parameter named 'ctors'. However C3.xsl is a
* work in progress and has impediments, see #175.
*/
private XML xml() throws IOException {
final String name = String.format("metrics/%s.xsl", this.metric);
Expand Down
1 change: 0 additions & 1 deletion src/main/resources/org/jpeek/metrics/OCC.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:param name="ctors" select="0"/>
<xsl:template match="skeleton">
<metric>
<xsl:apply-templates select="@*"/>
Expand Down

0 comments on commit 9e119ec

Please sign in to comment.