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 B651470F2 for ; Tue, 20 Sep 2011 08:54:00 +0000 (UTC) Received: (qmail 42904 invoked by uid 500); 20 Sep 2011 08:54:00 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 42861 invoked by uid 500); 20 Sep 2011 08:54:00 -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 42853 invoked by uid 99); 20 Sep 2011 08:54:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 08:54:00 +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; Tue, 20 Sep 2011 08:53:58 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 221EC23889E3 for ; Tue, 20 Sep 2011 08:53:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1173036 - /cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java Date: Tue, 20 Sep 2011 08:53:37 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20110920085337.221EC23889E3@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: coheigea Date: Tue Sep 20 08:53:36 2011 New Revision: 1173036 URL: http://svn.apache.org/viewvc?rev=1173036&view=rev Log: Fix for a failing test Modified: cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java Modified: cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java?rev=1173036&r1=1173035&r2=1173036&view=diff ============================================================================== --- cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java (original) +++ cxf/branches/2.4.x-fixes/rt/ws/security/src/test/java/org/apache/cxf/ws/security/wss4j/CustomProcessor.java Tue Sep 20 08:53:36 2011 @@ -23,7 +23,6 @@ import org.apache.ws.security.WSDocInfo; import org.apache.ws.security.WSSecurityEngineResult; import org.apache.ws.security.WSSecurityException; import org.apache.ws.security.handler.RequestData; -import org.apache.ws.security.message.token.SecurityContextToken; import org.apache.ws.security.processor.Processor; import org.apache.ws.security.validate.Validator; @@ -39,10 +38,7 @@ public class CustomProcessor implements final WSDocInfo wsDocInfo ) throws WSSecurityException { final WSSecurityEngineResult result = - new WSSecurityEngineResult( - WSConstants.SIGN, - (SecurityContextToken) null - ); + new WSSecurityEngineResult(WSConstants.SIGN); result.put("foo", this); return java.util.Collections.singletonList(result); }