Return-Path: Delivered-To: apmail-incubator-cxf-commits-archive@locus.apache.org Received: (qmail 78660 invoked from network); 10 Nov 2006 08:08:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2006 08:08:05 -0000 Received: (qmail 71075 invoked by uid 500); 10 Nov 2006 08:08:16 -0000 Delivered-To: apmail-incubator-cxf-commits-archive@incubator.apache.org Received: (qmail 71027 invoked by uid 500); 10 Nov 2006 08:08:15 -0000 Mailing-List: contact cxf-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-commits@incubator.apache.org Received: (qmail 71018 invoked by uid 99); 10 Nov 2006 08:08:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 00:08:15 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 00:08:04 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 0B5A41A9846; Fri, 10 Nov 2006 00:07:36 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r473241 - /incubator/cxf/trunk/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/client/Client.java Date: Fri, 10 Nov 2006 08:07:35 -0000 To: cxf-commits@incubator.apache.org From: mmao@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061110080736.0B5A41A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mmao Date: Fri Nov 10 00:07:35 2006 New Revision: 473241 URL: http://svn.apache.org/viewvc?view=rev&rev=473241 Log: Fixed the checkstyle errors introduced in the last patch apply Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/client/Client.java Modified: incubator/cxf/trunk/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/client/Client.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/client/Client.java?view=diff&rev=473241&r1=473240&r2=473241 ============================================================================== --- incubator/cxf/trunk/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/client/Client.java (original) +++ incubator/cxf/trunk/distribution/src/main/release/samples/integration/jca/hello_world_soap_http/src/demo/client/Client.java Fri Nov 10 00:07:35 2006 @@ -20,16 +20,15 @@ package demo.client; import java.io.BufferedReader; -import java.io.InputStreamReader; import java.io.IOException; +import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.MalformedURLException; import java.net.URL; public class Client { - - public Client() { + protected Client() { } public static void main(String[] args) throws Exception { @@ -42,10 +41,10 @@ conn.connect(); BufferedReader in = - new BufferedReader( new InputStreamReader( conn.getInputStream() ) ); + new BufferedReader(new InputStreamReader(conn.getInputStream())); boolean correctReturn = false; String response; - while ( (response = in.readLine()) != null ) { + while ((response = in.readLine()) != null) { if (response.contains("Bonjour")) { System.out.println(" server return: Bonjour"); correctReturn = true;