CPD Results

The following document contains the results of PMD's CPD 4.3.

Duplications

FileLine
de/fub/mi/idenpa/ui/proof/ProofRequestContent.java103
de/fub/mi/idenpa/ui/proof/ProofRequestContent.java135
				Iterator<CertificateDetail> iter = parser.getMissingCerts()
						.iterator();
				VerticalLayout vl = new VerticalLayout();
				vl.setSizeFull();
				while (iter.hasNext()) {
					CertificateDetail cert = iter.next();
					VerticalLayout certvl = new VerticalLayout();
					certvl.setStyleName("certDetail");
					Label label = new Label();
					label.setCaption("Aussteller");
					//Label ipk = new Label(cert.getIpkUri());
					Button button = Utils.getButtonLink(cert.getIpkUri(),cert.getIpkUri(), Utils.getButtonLinkPopupListener(this));
					HorizontalLayout hl = new HorizontalLayout();
					hl.addComponent(label);
					hl.addComponent(button);
					certvl.addComponent(hl);
					label = new Label();
					label.setCaption("Struktur");
					//Label ipk = new Label(cert.getIpkUri());
					button = Utils.getButtonLink(cert.getCertUri(),cert.getCertUri(), Utils.getButtonLinkPopupListener(this));
					hl = new HorizontalLayout();
					hl.addComponent(label);
					hl.addComponent(button);
					certvl.addComponent(hl);
					vl.addComponent(certvl);
				}
				addComponent(vl);
				vl.setStyleName("certInfo");
				setComponentAlignment(vl, Alignment.MIDDLE_CENTER);