Return-Path: Delivered-To: apmail-incubator-cxf-commits-archive@locus.apache.org Received: (qmail 37762 invoked from network); 29 Nov 2007 09:04:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 09:04:42 -0000 Received: (qmail 60152 invoked by uid 500); 29 Nov 2007 09:04:29 -0000 Delivered-To: apmail-incubator-cxf-commits-archive@incubator.apache.org Received: (qmail 60091 invoked by uid 500); 29 Nov 2007 09:04:29 -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 60082 invoked by uid 99); 29 Nov 2007 09:04:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 01:04:29 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 29 Nov 2007 09:04:40 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id D85F31A9832; Thu, 29 Nov 2007 01:04:18 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r599350 - /incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java Date: Thu, 29 Nov 2007 09:04:18 -0000 To: cxf-commits@incubator.apache.org From: mmao@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071129090418.D85F31A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mmao Date: Thu Nov 29 01:04:17 2007 New Revision: 599350 URL: http://svn.apache.org/viewvc?rev=599350&view=rev Log: Forgot to revert the ContextUtils Modified: incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java Modified: incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java?rev=599350&r1=599349&r2=599350&view=diff ============================================================================== --- incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java (original) +++ incubator/cxf/trunk/rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/ContextUtils.java Thu Nov 29 01:04:17 2007 @@ -152,10 +152,8 @@ * @return true iff the current messaging role is that of requestor */ public static boolean isRequestor(Message message) { - if (message.get(REQUESTOR_ROLE) instanceof Boolean) { - return ((Boolean)message.get(REQUESTOR_ROLE)).booleanValue(); - } - return false; + Boolean requestor = (Boolean)message.get(REQUESTOR_ROLE); + return requestor != null && requestor.booleanValue(); } /**