• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hazendaz / sitemesh2 / 59

22 Mar 2026 02:30AM UTC coverage: 40.347%. Remained the same
59

push

github

hazendaz
[mvn] Update maven wrapper

698 of 1891 branches covered (36.91%)

Branch coverage included in aggregate %.

1555 of 3693 relevant lines covered (42.11%)

0.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

77.78
/src/main/java/com/opensymphony/module/sitemesh/parser/PartialPageParserPage.java
1
/*
2
 * SPDX-License-Identifier: Apache-2.0
3
 * Copyright 2011-2026 Hazendaz
4
 */
5
package com.opensymphony.module.sitemesh.parser;
6

7
import com.opensymphony.module.sitemesh.SitemeshBuffer;
8
import com.opensymphony.module.sitemesh.SitemeshBufferFragment;
9
import com.opensymphony.module.sitemesh.SitemeshWriter;
10

11
import java.io.IOException;
12
import java.io.Writer;
13

14
/**
15
 * The Class PartialPageParserPage.
16
 */
17
public class PartialPageParserPage extends AbstractPage {
18

19
    /** The body. */
20
    private final SitemeshBufferFragment body;
21

22
    /**
23
     * Instantiates a new partial page parser page.
24
     *
25
     * @param sitemeshBuffer
26
     *            the sitemesh buffer
27
     * @param body
28
     *            the body
29
     */
30
    public PartialPageParserPage(SitemeshBuffer sitemeshBuffer, SitemeshBufferFragment body) {
31
        super(sitemeshBuffer);
1✔
32
        this.body = body;
1✔
33
    }
1✔
34

35
    @Override
36
    public void writeBody(Writer out) throws IOException {
37
        if (out instanceof SitemeshWriter) {
1!
38
            ((SitemeshWriter) out).writeSitemeshBufferFragment(body);
×
39
        } else {
40
            body.writeTo(out);
1✔
41
        }
42
    }
1✔
43
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc