From 842f1ce11feca83cb655ca764c9b3f3541d2034c Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 4 Sep 2017 19:51:31 +0100 Subject: [PATCH] JAL-2675 source license --- src/jalview/api/RendererListenerI.java | 20 ++++++++++++++++++++ src/jalview/commands/RemoveGapColCommand.java | 20 +------------------- src/jalview/commands/RemoveGapsCommand.java | 19 ------------------- src/jalview/datamodel/AlignmentI.java | 6 +++--- 4 files changed, 24 insertions(+), 41 deletions(-) diff --git a/src/jalview/api/RendererListenerI.java b/src/jalview/api/RendererListenerI.java index 01b1a30..0ce4116 100644 --- a/src/jalview/api/RendererListenerI.java +++ b/src/jalview/api/RendererListenerI.java @@ -1,3 +1,23 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview 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. + * + * Jalview 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 Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.api; import java.beans.PropertyChangeListener; diff --git a/src/jalview/commands/RemoveGapColCommand.java b/src/jalview/commands/RemoveGapColCommand.java index 3266874..32e5fb4 100644 --- a/src/jalview/commands/RemoveGapColCommand.java +++ b/src/jalview/commands/RemoveGapColCommand.java @@ -20,25 +20,6 @@ */ package jalview.commands; -/* - * Jalview - A Sequence Alignment Editor and Viewer Copyright (C) 2007 AM - * Waterhouse, J Procter, G Barton, M Clamp, S Searle - * - * 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 2 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, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - import jalview.datamodel.AlignmentI; import jalview.datamodel.SequenceI; @@ -110,6 +91,7 @@ public class RemoveGapColCommand extends EditCommand performEdit(0, null); } + @Override public int getSize() { // We're interested in the number of columns deleted, diff --git a/src/jalview/commands/RemoveGapsCommand.java b/src/jalview/commands/RemoveGapsCommand.java index c5c35f1..27831dd 100644 --- a/src/jalview/commands/RemoveGapsCommand.java +++ b/src/jalview/commands/RemoveGapsCommand.java @@ -20,25 +20,6 @@ */ package jalview.commands; -/* - * Jalview - A Sequence Alignment Editor and Viewer Copyright (C) 2007 AM - * Waterhouse, J Procter, G Barton, M Clamp, S Searle - * - * 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 2 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, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ - import jalview.datamodel.AlignmentI; import jalview.datamodel.SequenceI; diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 1b5207f..084b80e 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -5,16 +5,16 @@ * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or - * modify it under the terms of the GNU General License + * 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. * * Jalview 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 License for more details. + * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General License + * You should have received a copy of the GNU General Public License * along with Jalview. If not, see . * The Jalview Authors are detailed in the 'AUTHORS' file. */ -- 1.7.10.2