X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fhttpserver%2FAbstractRequestHandler.java;h=ece2df08298721993c68eb1db30e3dc801530c9e;hb=d75cd5f72feb5338ee6ccc8ea72a995b2d3763d8;hp=8030c1d62a8e76d3677c7bc6868de0f480489746;hpb=ac207fd787051c6e0f4f9f10ea6b94452480d931;p=jalview.git diff --git a/src/jalview/httpserver/AbstractRequestHandler.java b/src/jalview/httpserver/AbstractRequestHandler.java index 8030c1d..ece2df0 100644 --- a/src/jalview/httpserver/AbstractRequestHandler.java +++ b/src/jalview/httpserver/AbstractRequestHandler.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.httpserver; import java.io.IOException; @@ -54,8 +74,8 @@ public abstract class AbstractRequestHandler extends AbstractHandler /* * Can't write an HTTP header once any response content has been written */ - System.err - .println("Unable to return HTTP 500 as response already committed"); + System.err.println( + "Unable to return HTTP 500 as response already committed"); } else { @@ -123,8 +143,8 @@ public abstract class AbstractRequestHandler extends AbstractHandler stop(); } catch (Exception e) { - System.err.println("Error stopping " + getName() + ": " - + e.getMessage()); + System.err.println( + "Error stopping " + getName() + ": " + e.getMessage()); } }