Code Duplication    Length = 3-3 lines in 2 locations

lib/Dwoo/Template/Str.php 2 locations

@@ 126-128 (lines=3) @@
123
        $this->name      = hash('md4', $templateString);
124
        $this->cacheTime = $cacheTime;
125
126
        if ($compileId !== null) {
127
            $this->compileId = str_replace('../', '__', strtr($compileId, '\\%?=!:;' . PATH_SEPARATOR, '/-------'));
128
        }
129
130
        if ($cacheId !== null) {
131
            $this->cacheId = str_replace('../', '__', strtr($cacheId, '\\%?=!:;' . PATH_SEPARATOR, '/-------'));
@@ 130-132 (lines=3) @@
127
            $this->compileId = str_replace('../', '__', strtr($compileId, '\\%?=!:;' . PATH_SEPARATOR, '/-------'));
128
        }
129
130
        if ($cacheId !== null) {
131
            $this->cacheId = str_replace('../', '__', strtr($cacheId, '\\%?=!:;' . PATH_SEPARATOR, '/-------'));
132
        }
133
    }
134
135
    /**