Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/core/Classes/DataHandling/DataHandler.php 2 locations

@@ 2289-2291 (lines=3) @@
2286
                                        }
2287
                                        $this->copiedFileMap[$theFile] = $theDestFile;
2288
                                        clearstatcache();
2289
                                        if (!@is_file($theDestFile)) {
2290
                                            $this->log($table, $id, 5, 0, 1, 'Copying file \'%s\' failed!: The destination path (%s) may be write protected. Please make it write enabled!. (%s)', 16, [$theFile, dirname($theDestFile), $recFID], $propArr['event_pid']);
2291
                                        }
2292
                                    } else {
2293
                                        $this->log($table, $id, 5, 0, 1, 'Copying file \'%s\' failed!: No destination file (%s) possible!. (%s)', 11, [$theFile, $theDestFile, $recFID], $propArr['event_pid']);
2294
                                    }
@@ 2382-2384 (lines=3) @@
2379
                                            GeneralUtility::upload_copy_move($theFile, $theDestFile);
2380
                                            $this->copiedFileMap[$theFile] = $theDestFile;
2381
                                            clearstatcache();
2382
                                            if (!@is_file($theDestFile)) {
2383
                                                $this->log($table, $id, 5, 0, 1, 'Copying file \'%s\' failed!: The destination path (%s) may be write protected. Please make it write enabled!. (%s)', 16, [$theFile, dirname($theDestFile), $recFID], $propArr['event_pid']);
2384
                                            }
2385
                                        } else {
2386
                                            $this->log($table, $id, 5, 0, 1, 'Copying file \'%s\' failed!: No destination file (%s) possible!. (%s)', 11, [$theFile, $theDestFile, $recFID], $propArr['event_pid']);
2387
                                        }