Code Duplication    Length = 3-3 lines in 2 locations

typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 2 locations

@@ 4463-4465 (lines=3) @@
4460
        );
4461
4462
        do {
4463
            if (!$this->locks[$type]['accessLock']->acquire()) {
4464
                throw new \RuntimeException('Could not acquire access lock for "' . $type . '"".', 1294586098);
4465
            }
4466
4467
            try {
4468
                $locked = $this->locks[$type]['pageLock']->acquire(
@@ 4500-4502 (lines=3) @@
4497
    protected function releaseLock($type)
4498
    {
4499
        if ($this->locks[$type]['accessLock']) {
4500
            if (!$this->locks[$type]['accessLock']->acquire()) {
4501
                throw new \RuntimeException('Could not acquire access lock for "' . $type . '"".', 1460975902);
4502
            }
4503
4504
            $this->locks[$type]['pageLock']->release();
4505
            $this->locks[$type]['pageLock']->destroy();