// Import framework stuff
use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
-use Org\Mxchange\CoreFramework\Registry\Registry;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
use Org\Mxchange\CoreFramework\Stacker\Index\IndexableStack;
// Import SPL stuff
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
-<<<<<<< HEAD:framework/main/classes/factories/index/class_FileStackIndexFactory.php
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
-=======
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2016 Core Developer Team
->>>>>>> Some updates::inc/main/classes/factories/index/class_FileStackIndexFactory.php
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
*/
public static final function createFileStackIndexInstance (SplFileInfo $infoInstance, $type) {
// If there is no handler?
- if (Registry::getRegistry()->instanceExists($type . '_index')) {
+ if (GenericRegistry::getRegistry()->instanceExists($type . '_index')) {
// Get handler from registry
- $indexInstance = Registry::getRegistry()->getInstance($type . '_index');
+ $indexInstance = GenericRegistry::getRegistry()->getInstance($type . '_index');
} else {
// Get the handler instance
$indexInstance = self::createObjectByConfiguredName($type . '_file_stack_index_class', array($infoInstance));