Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03E219668 for ; Thu, 19 Jan 2012 17:50:32 +0000 (UTC) Received: (qmail 64811 invoked by uid 500); 19 Jan 2012 17:50:31 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 64721 invoked by uid 500); 19 Jan 2012 17:50:31 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 64676 invoked by uid 99); 19 Jan 2012 17:50:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 17:50:30 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2012 17:50:27 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id C38E0238899C for ; Thu, 19 Jan 2012 17:50:06 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1233500 - in /cxf/trunk: rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/ rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/ systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/ Date: Thu, 19 Jan 2012 17:50:06 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120119175006.C38E0238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Thu Jan 19 17:50:06 2012 New Revision: 1233500 URL: http://svn.apache.org/viewvc?rev=1233500&view=rev Log: Fix checkstyle issues Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyDataEngineImpl.java cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyDataEngineImplTest.java cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/PolicyLoggingInterceptor.java Modified: cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyDataEngineImpl.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyDataEngineImpl.java?rev=1233500&r1=1233499&r2=1233500&view=diff ============================================================================== --- cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyDataEngineImpl.java (original) +++ cxf/trunk/rt/ws/policy/src/main/java/org/apache/cxf/ws/policy/PolicyDataEngineImpl.java Thu Jan 19 17:50:06 2012 @@ -58,7 +58,8 @@ public class PolicyDataEngineImpl implem public T getClientEndpointPolicy(EndpointInfo ei, Conduit c, PolicyCalculator policyCalculator) { - Collection alternative = getPolicyEngine().getClientEndpointPolicy(ei, c).getChosenAlternative(); + Collection alternative = getPolicyEngine() + .getClientEndpointPolicy(ei, c).getChosenAlternative(); List filteredPolicies = new ArrayList(); for (Assertion a : alternative) { if (policyCalculator.getDataClassName().equals(a.getName())) { @@ -78,7 +79,8 @@ public class PolicyDataEngineImpl implem public T getServerEndpointPolicy(EndpointInfo ei, Destination d, PolicyCalculator policyCalculator) { - Collection alternative = getPolicyEngine().getServerEndpointPolicy(ei, d).getChosenAlternative(); + Collection alternative = getPolicyEngine() + .getServerEndpointPolicy(ei, d).getChosenAlternative(); List filteredPolicies = new ArrayList(); for (Assertion a : alternative) { if (policyCalculator.getDataClassName().equals(a.getName())) { Modified: cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyDataEngineImplTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyDataEngineImplTest.java?rev=1233500&r1=1233499&r2=1233500&view=diff ============================================================================== --- cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyDataEngineImplTest.java (original) +++ cxf/trunk/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyDataEngineImplTest.java Thu Jan 19 17:50:06 2012 @@ -1,3 +1,21 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.cxf.ws.policy; import java.util.ArrayList; @@ -16,7 +34,7 @@ import org.junit.Assert; import org.junit.Test; public class PolicyDataEngineImplTest extends Assert { - private final static QName TEST_POLICY_NAME = new QName("http://test","TestPolicy"); + private static final QName TEST_POLICY_NAME = new QName("http://test", "TestPolicy"); class TestPolicy { } Modified: cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/PolicyLoggingInterceptor.java URL: http://svn.apache.org/viewvc/cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/PolicyLoggingInterceptor.java?rev=1233500&r1=1233499&r2=1233500&view=diff ============================================================================== --- cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/PolicyLoggingInterceptor.java (original) +++ cxf/trunk/systests/ws-specs/src/test/java/org/apache/cxf/systest/ws/policy/PolicyLoggingInterceptor.java Thu Jan 19 17:50:06 2012 @@ -67,7 +67,7 @@ public class PolicyLoggingInterceptor ex for (Assertion a : as) { LOG.fine("Assertion: " + a.getClass().getName()); HTTPServerPolicy p = (JaxbAssertion.cast(a, HTTPServerPolicy.class)).getData(); - LOG.fine("server policy: " + new ServerPolicyCalculator().toString(p)); + LOG.fine("server policy: " + ServerPolicyCalculator.toString(p)); } }