X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FBrowserLauncher.java;h=540c52184fabc1acf480274ddc81a28ed52b9a91;hb=153dd62dc91da13ae732600e6ea55ddbe15eab39;hp=5ea4588c139a7401d1d8edc9930b10eb51071fc4;hpb=2de8acfae59aced665e4c37ad0f7dcc2ed68818e;p=jalview.git diff --git a/src/jalview/util/BrowserLauncher.java b/src/jalview/util/BrowserLauncher.java index 5ea4588..540c521 100755 --- a/src/jalview/util/BrowserLauncher.java +++ b/src/jalview/util/BrowserLauncher.java @@ -1,20 +1,19 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1) - * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) + * Copyright (C) 2010 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.util; @@ -89,8 +88,8 @@ public class BrowserLauncher * Caches whether any classes, methods, and fields that are not part of the * JDK and need to be dynamically loaded at runtime loaded successfully. *

- * Note that if this is false, openURL() will - * always return an IOException. + * Note that if this is false, openURL() will always + * return an IOException. */ private static boolean loadedWithoutErrors; @@ -305,8 +304,8 @@ public class BrowserLauncher * Called by a static initializer to load any classes, fields, and methods * required at runtime to locate the user's web browser. * - * @return true if all intialization succeeded - * false if any portion of the initialization failed + * @return true if all intialization succeeded false + * if any portion of the initialization failed */ private static boolean loadClasses() { @@ -683,9 +682,9 @@ public class BrowserLauncher * Attempts to open the default web browser to the given URL. * * @param url - * The URL to open + * The URL to open * @throws IOException - * If the web browser could not be located or does not run + * If the web browser could not be located or does not run */ public static void openURL(String url) throws IOException {