CPD Results

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

Duplications

FileLine
FileQuery.java113
ReprocessInitiator.java75
		final long time = currentTimeMillis();
		try {
			final DaysRange range;
			String fromDate = CLI.getParameter("-f", String.class), toDate = CLI.getParameter("-t", String.class);
			if (fromDate != null || toDate != null) {
				final DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
				final RangeType type = RangeType.valueOf(CLI.getParameter("--range-type", String.class));
				range = new DaysRange(type,
						fromDate == null ? null : df.parse(fromDate),
						toDate == null ? null : df.parse(toDate));
			} else
				range = null;

			count = queryPackages(client,