The following document contains the results of PMD's CPD 4.1.
File | Line |
---|---|
nl/gridshore/samples/raffle/web/wicket/raffle/DeleteRafflePage.java | 25 |
nl/gridshore/samples/raffle/web/wicket/raffle/ViewRafflePage.java | 29 |
Raffle raffle = raffleService.giveRaffleById(pageParams.getLong(RaffleConstants.PARAM_RAFFLE_ID)); add(new Label("title-label", "Raffle title")); add(new Label("title", raffle.getTitle())); add(new Label("description-label", "Raffle description")); add(new Label("description", raffle.getDescription())); add(new Label("participant-name-label", "Participant name")); add(new ListView("participants", raffle.getParticipants()) { protected void populateItem(ListItem item) { Participant participant = (Participant) item.getModelObject(); item.add(new Label("name", participant.getName())); } }); |