X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FPhylipFile.java;h=fcab79d4403854e06e58f11f162166d45ed70bbb;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=d7f6dbc85bb3cc1cc08386003fbbc8a67cbc62b4;hpb=2ce465aaa3047e1ef758a26af2fbfcf8626b4a69;p=jalview.git diff --git a/src/jalview/io/PhylipFile.java b/src/jalview/io/PhylipFile.java index d7f6dbc..fcab79d 100644 --- a/src/jalview/io/PhylipFile.java +++ b/src/jalview/io/PhylipFile.java @@ -1,5 +1,22 @@ -/** - * +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) + * Copyright (C) 2015 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.io; @@ -201,8 +218,8 @@ public class PhylipFile extends AlignFile */ private String validateName(String name) throws IOException { - char[] invalidCharacters = new char[] - { '(', ')', '[', ']', ':', ';', ',' }; + char[] invalidCharacters = new char[] { '(', ')', '[', ']', ':', ';', + ',' }; for (char c : invalidCharacters) { if (name.indexOf(c) > -1) @@ -309,4 +326,4 @@ public class PhylipFile extends AlignFile return sb.toString(); } -} \ No newline at end of file +}