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

knowledgepixels / nanodash / 17837235071

18 Sep 2025 05:58PM UTC coverage: 13.87%. Remained the same
17837235071

push

github

tkuhn
chore: Remove serialVersionUIDs

443 of 4022 branches covered (11.01%)

Branch coverage included in aggregate %.

1133 of 7341 relevant lines covered (15.43%)

0.68 hits per line

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

0.0
src/main/java/com/knowledgepixels/nanodash/component/DifferentKeyErrorItem.java
1
package com.knowledgepixels.nanodash.component;
2

3
import com.knowledgepixels.nanodash.NanodashSession;
4
import com.knowledgepixels.nanodash.Utils;
5
import org.apache.wicket.markup.html.basic.Label;
6
import org.apache.wicket.markup.html.panel.Panel;
7
import org.apache.wicket.request.mapper.parameter.PageParameters;
8

9
/**
10
 * Panel to display an error message when the public key in the URL does not match the local session's public key.
11
 */
12
public class DifferentKeyErrorItem extends Panel {
13

14
    /**
15
     * Constructor for DifferentKeyErrorItem.
16
     *
17
     * @param id         the component id
18
     * @param parameters the page parameters containing the public key to compare against the session's public key
19
     */
20
    public DifferentKeyErrorItem(String id, final PageParameters parameters) {
21
        super(id);
×
22
        final NanodashSession session = NanodashSession.get();
×
23
        add(new Label("linkkey", Utils.getShortPubkeyName(Utils.createSha256HexHash(parameters.get("sigkey").toString()))));
×
24
        add(new Label("localkey", Utils.getShortPubkeyName(session.getPubkeyhash())));
×
25
    }
×
26

27
}
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