X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FFormat.java;h=98500da10f54e4bd7d15c15b7017337dd654fcb8;hb=ad15cff29620f960119f80176f1fd443da9f6763;hp=e217704770100156e45f3e1a9d75f20f2adaba31;hpb=d423f22792e47dbc800ae220a58677f988971d06;p=jalview.git diff --git a/src/jalview/util/Format.java b/src/jalview/util/Format.java index e217704..98500da 100755 --- a/src/jalview/util/Format.java +++ b/src/jalview/util/Format.java @@ -1,19 +1,22 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.5) - * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle + * 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. - * + * 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 . + * 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. */ /** * A class for formatting numbers that follows printf conventions. @@ -205,66 +208,63 @@ public class Format } } -/** + /** * Formats the number following printf conventions. Main limitation: Can only * handle one format parameter at a time Use multiple Format objects to format * more than one number * * @param s - * the format string following printf conventions The string - * has a prefix, a format code and a suffix. The prefix and - * suffix become part of the formatted output. The format code - * directs the formatting of the (single) parameter to be - * formatted. The code has the following structure - * + * the format string following printf conventions The string has a + * prefix, a format code and a suffix. The prefix and suffix become + * part of the formatted output. The format code directs the + * formatting of the (single) parameter to be formatted. The code has + * the following structure + * * @exception IllegalArgumentException - * if bad format + * if bad format * */ public static String getHexString(java.awt.Color color)