Code Duplication    Length = 4-4 lines in 2 locations

typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php 2 locations

@@ 475-478 (lines=4) @@
472
                $onClick = 'return inline.changeSorting(' . GeneralUtility::quoteJSvalue($nameObjectFtId) . ', \'1\')';
473
                $icon = 'actions-move-up';
474
                $class = '';
475
                if ($inlineConfig['inline']['first'] == $rec['uid']) {
476
                    $class = ' disabled';
477
                    $icon = 'empty-empty';
478
                }
479
                $cells['sort.up'] = '
480
                    <a class="btn btn-default sortingUp' . $class . '" href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_mod_web_list.xlf:moveUp')) . '">
481
                        ' . $this->iconFactory->getIcon($icon, Icon::SIZE_SMALL)->render() . '
@@ 487-490 (lines=4) @@
484
                $onClick = 'return inline.changeSorting(' . GeneralUtility::quoteJSvalue($nameObjectFtId) . ', \'-1\')';
485
                $icon = 'actions-move-down';
486
                $class = '';
487
                if ($inlineConfig['inline']['last'] == $rec['uid']) {
488
                    $class = ' disabled';
489
                    $icon = 'empty-empty';
490
                }
491
492
                $cells['sort.down'] = '
493
                    <a class="btn btn-default sortingDown' . $class . '" href="#" onclick="' . htmlspecialchars($onClick) . '" title="' . htmlspecialchars($languageService->sL('LLL:EXT:lang/Resources/Private/Language/locallang_mod_web_list.xlf:moveDown')) . '">