This is an automated email from the git hooks/post-receive script. New commit to branch feature/remove_dead_code in repository observe. See http://git.codelutin.com/observe.git commit 5cc123bae7c09d8e4b99f6686b6b4dfeeda5c06b Author: Kevin Morin <morin@codelutin.com> Date: Fri Nov 13 16:23:49 2015 +0100 suppression du code mort --- .../observe/business/LonglinePositionAware.java | 56 ---------------------- .../fr/ird/observe/business/SendMessageAble.java | 34 ------------- .../fr/ird/observe/ui/admin/AdminTabUIHandler.java | 3 +- 3 files changed, 1 insertion(+), 92 deletions(-) diff --git a/observe-application-swing/src/main/java/fr/ird/observe/business/LonglinePositionAware.java b/observe-application-swing/src/main/java/fr/ird/observe/business/LonglinePositionAware.java deleted file mode 100644 index a508bcb..0000000 --- a/observe-application-swing/src/main/java/fr/ird/observe/business/LonglinePositionAware.java +++ /dev/null @@ -1,56 +0,0 @@ -package fr.ird.observe.business; - -/* - * #%L - * ObServe :: Entities - * %% - * Copyright (C) 2008 - 2015 IRD, Codelutin, Tony Chemit - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU 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 Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -import fr.ird.observe.services.dto.longline.BasketDto; -import fr.ird.observe.services.dto.longline.BranchlineDto; -import fr.ird.observe.services.dto.longline.SectionDto; - -import java.beans.PropertyChangeListener; - -/** - * Created on 1/6/15. - * - * @author Tony Chemit - chemit@codelutin.com - * @since 3.11 - */ -//FIXME -public interface LonglinePositionAware { - - void setSection(SectionDto section); - - SectionDto getSection(); - - void setBasket(BasketDto basket); - - BasketDto getBasket(); - - void setBranchline(BranchlineDto branchline); - - BranchlineDto getBranchline(); - - void addPropertyChangeListener(PropertyChangeListener listener); - - void addPropertyChangeListener(String property, PropertyChangeListener listener); - -} diff --git a/observe-application-swing/src/main/java/fr/ird/observe/business/SendMessageAble.java b/observe-application-swing/src/main/java/fr/ird/observe/business/SendMessageAble.java deleted file mode 100644 index 9ed2b05..0000000 --- a/observe-application-swing/src/main/java/fr/ird/observe/business/SendMessageAble.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * #%L - * ObServe :: Business - * %% - * Copyright (C) 2008 - 2010 IRD, Codelutin, Tony Chemit - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU 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 Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ -package fr.ird.observe.business; - -/** - * Un contrat pour pouvoir propager les messages. - * - * @author Tony Chemit - chemit@codelutin.com - * @since 1.5 - */ -//FIXME A supprimer -public interface SendMessageAble { - - void sendMessage(String message); -} diff --git a/observe-application-swing/src/main/java/fr/ird/observe/ui/admin/AdminTabUIHandler.java b/observe-application-swing/src/main/java/fr/ird/observe/ui/admin/AdminTabUIHandler.java index 53dc106..ac8bd12 100644 --- a/observe-application-swing/src/main/java/fr/ird/observe/ui/admin/AdminTabUIHandler.java +++ b/observe-application-swing/src/main/java/fr/ird/observe/ui/admin/AdminTabUIHandler.java @@ -24,7 +24,6 @@ package fr.ird.observe.ui.admin; import com.google.common.collect.ImmutableSet; import fr.ird.observe.ObserveRunner; import fr.ird.observe.ObserveSwingApplicationContext; -import fr.ird.observe.business.SendMessageAble; import fr.ird.observe.db.ObserveSwingDataSource; import fr.ird.observe.services.dto.ImportDataDto; import fr.ird.observe.services.service.BabModelVersionException; @@ -57,7 +56,7 @@ import static org.nuiton.i18n.I18n.t; * @author Tony Chemit - chemit@codelutin.com * @since 1.4 */ -public class AdminTabUIHandler implements SendMessageAble { +public class AdminTabUIHandler { /** Logger */ private static final Log log = LogFactory.getLog(AdminTabUIHandler.class); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.