Index: TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java =================================================================== RCS file: /usr/local/cvsroot/TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java,v diff -u -r1.10 -r1.11 --- TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java 16 Jan 2014 17:08:58 -0000 1.10 +++ TestHarness4LAMS2/src/org/lamsfoundation/testharness/Call.java 5 May 2016 08:11:56 -0000 1.11 @@ -2,21 +2,21 @@ * Copyright (C) 2006 LAMS Foundation (http://lamsfoundation.org) * ============================================================= * License Information: http://lamsfoundation.org/licensing/lams/2.0/ - * + * * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2.0 + * it under the terms of the GNU General Public License version 2.0 * as published by the Free Software Foundation. - * + * * 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. - * + * * 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 - * + * * http://www.gnu.org/licenses/gpl.txt * **************************************************************** */ @@ -221,7 +221,7 @@ resp = wc.getResponse(req); end = System.currentTimeMillis(); } - + httpStatusCode = resp.getResponseCode(); if (httpStatusCode >= 400) { log.debug("Got " + httpStatusCode + " HTTP code. Retrying call: " + callee); @@ -233,7 +233,7 @@ throw new TestHarnessException(test.testName + " got HTTP code " + httpStatusCode); } } - + message = resp.getResponseMessage(); for (String headerFieldName : resp.getHeaderFieldNames()) { if (headerFieldName.equalsIgnoreCase("SET-COOKIE")) { @@ -289,8 +289,8 @@ } String withSlash = url.startsWith("/") ? url : "/" + url; - String context = url.startsWith(test.getTestSuite().getContextRoot()) ? "" : test.getTestSuite() - .getContextRoot(); + String context = url.startsWith(test.getTestSuite().getContextRoot()) ? "" + : test.getTestSuite().getContextRoot(); String targetServer = test.getTestSuite().getTargetServer(); if (!targetServer.startsWith("http")) { targetServer = "http://" + targetServer;