CPD Results

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

Duplications

File Line
de/spiritscorp/datasync/controller/SyncJobService.java 85
de/spiritscorp/datasync/controller/SyncJobService.java 167
context.setStatusMessage( "Synchronisation gestartet. Scanne Verzeichnisse..." );
		context.clearLog();

		final Map<Path, FileAttributes> sourceMap = Model.createMap();
		final Map<Path, FileAttributes> destMap = Model.createMap();
		final Map<Path, FileAttributes> failMap = Model.createMap();
		final Preference pref = context.getPreference();
		final Model model = new Model( new Logger(), sourceMap, destMap );
		final Long[] stats = new Long[4];

		final Thread worker = new Thread( () -> {
			long startTime = System.nanoTime();
			try {
				final Path startDestPath = pref.getDestPaths().get( 0 );