001/*
002// This software is subject to the terms of the Eclipse Public License v1.0
003// Agreement, available at the following URL:
004// http://www.eclipse.org/legal/epl-v10.html.
005// You must accept the terms of that agreement to use this software.
006//
007// Copyright (C) 2010-2010 Pentaho
008// All Rights Reserved.
009*/
010package mondrian.spi.impl;
011
012import mondrian.spi.CatalogLocator;
013
014/**
015 * Implementation of {@link mondrian.spi.CatalogLocator} that returns
016 * the path unchanged.
017 *
018 * @author Julian Hyde
019 */
020public class IdentityCatalogLocator implements CatalogLocator {
021    public String locate(String catalogPath) {
022        return catalogPath;
023    }
024}
025
026// End IdentityCatalogLocator.java