Author: echatellier Date: 2011-06-28 17:28:07 +0200 (Tue, 28 Jun 2011) New Revision: 985 Url: http://nuiton.org/repositories/revision/wikitty/985 Log: #1600 Remove deprecated WikittyService implementation Removed: trunk/wikitty-jdbc/src/main/java/org/nuiton/wikitty/jdbc/WikittyServiceJDBC.java Modified: trunk/wikitty-jdbc/pom.xml Modified: trunk/wikitty-jdbc/pom.xml =================================================================== --- trunk/wikitty-jdbc/pom.xml 2011-06-28 15:18:40 UTC (rev 984) +++ trunk/wikitty-jdbc/pom.xml 2011-06-28 15:28:07 UTC (rev 985) @@ -25,7 +25,7 @@ <groupId>${project.groupId}</groupId> <artifactId>wikitty-solr</artifactId> <version>${project.version}</version> - <!-- move to test scope when WikittyServiceJDBC will be deleted <scope>test</scope> --> + <scope>test</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> Deleted: trunk/wikitty-jdbc/src/main/java/org/nuiton/wikitty/jdbc/WikittyServiceJDBC.java =================================================================== --- trunk/wikitty-jdbc/src/main/java/org/nuiton/wikitty/jdbc/WikittyServiceJDBC.java 2011-06-28 15:18:40 UTC (rev 984) +++ trunk/wikitty-jdbc/src/main/java/org/nuiton/wikitty/jdbc/WikittyServiceJDBC.java 2011-06-28 15:28:07 UTC (rev 985) @@ -1,55 +0,0 @@ -/* - * #%L - * Wikitty :: wikitty-jdbc-impl - * - * $Id$ - * $HeadURL$ - * %% - * Copyright (C) 2010 CodeLutin, Benjamin Poussin - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Lesser Public License for more details. - * - * You should have received a copy of the GNU General Lesser Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/lgpl-3.0.html>. - * #L% - */ - -package org.nuiton.wikitty.jdbc; - -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.nuiton.util.ApplicationConfig; -import org.nuiton.wikitty.WikittyServiceFactory; -import org.nuiton.wikitty.services.WikittyServiceStorage; -import org.nuiton.wikitty.storage.solr.WikittySearchEngineSolr; - -/** - * @author poussin - * @version $Revision$ - * - * Last update: $Date$ - * by : $Author$ - * @deprecated use WikittyServiceFactory is good config file - * @see WikittyServiceFactory - */ -public class WikittyServiceJDBC extends WikittyServiceStorage { - - /** to use log facility, just put in your code: log.info(\"...\"); */ - static private Log log = LogFactory.getLog(WikittyServiceJDBC.class); - - public WikittyServiceJDBC(ApplicationConfig config) { - extensionStorage = new WikittyExtensionStorageJDBC(config); - wikittyStorage = new WikittyStorageJDBC(config, extensionStorage); - searchEngine = new WikittySearchEngineSolr(config, extensionStorage); - } - -}