X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2Fdas%2FDasSequenceSourceListener.java;h=0b0a065ba3016e9ceece9c194c8f2189deaac27f;hb=a45774ee31d9f35d4eff46d54d7deab719afb092;hp=e036404addc1da18285e20394e1b5bcea56e65e0;hpb=506d60f0e188723ddc91c26824b41ac7034df3fe;p=jalview.git diff --git a/src/jalview/ws/dbsources/das/DasSequenceSourceListener.java b/src/jalview/ws/dbsources/das/DasSequenceSourceListener.java index e036404..0b0a065 100644 --- a/src/jalview/ws/dbsources/das/DasSequenceSourceListener.java +++ b/src/jalview/ws/dbsources/das/DasSequenceSourceListener.java @@ -1,20 +1,19 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4) - * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) + * Copyright (C) 2011 J Procter, AM Waterhouse, 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 file is part of Jalview. * - * 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. + * 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. * - * 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 + * 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 . */ package jalview.ws.dbsources.das; @@ -45,11 +44,11 @@ public class DasSequenceSourceListener implements SequenceListener /** * * @param source - * the DAS Sequence DbProxy object containing database details - * for this source + * the DAS Sequence DbProxy object containing database details for + * this source * @param query - * the query string sent to the das source that we should be - * listening for. + * the query string sent to the das source that we should be + * listening for. */ public DasSequenceSourceListener(DasSequenceSource source, String query) { @@ -91,8 +90,7 @@ public class DasSequenceSourceListener implements SequenceListener } Sequence sq = new Sequence(e.getAccessionCode(), e.getSequence()); sq.addDBRef(new DBRefEntry(oursource.getDbSource(), oursource - .getDbVersion() - + ":" + e.getVersion(), e.getAccessionCode())); + .getDbVersion() + ":" + e.getVersion(), e.getAccessionCode())); seqs.addElement(sq); called = true; }