cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: Fix compile failure
Date Mon, 27 Jul 2015 18:01:28 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 8810f83b0 -> 6ec076331


Fix compile failure


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/6ec07633
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/6ec07633
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/6ec07633

Branch: refs/heads/3.0.x-fixes
Commit: 6ec0763313dde506b5564be7733c79fd86f81c84
Parents: 8810f83
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Jul 27 14:01:14 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Jul 27 14:01:14 2015 -0400

----------------------------------------------------------------------
 .../apache/cxf/systest/handlers/MessageContextFirstHandler.java  | 4 ++--
 .../apache/cxf/systest/handlers/MessageContextSecondHandler.java | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/6ec07633/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextFirstHandler.java
----------------------------------------------------------------------
diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextFirstHandler.java
b/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextFirstHandler.java
index 62f272e..7ffd0ee 100644
--- a/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextFirstHandler.java
+++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextFirstHandler.java
@@ -33,13 +33,13 @@ public class MessageContextFirstHandler implements SOAPHandler<SOAPMessageContex
 
     @Override
     public boolean handleMessage(SOAPMessageContext context) {
-        boolean isOutbound = (boolean)context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+        Boolean isOutbound = (Boolean)context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
         if (isOutbound) {
             @SuppressWarnings("unchecked")
             Map<String, List<String>> headerMap = (Map<String, List<String>>)context
                 .get(MessageContext.HTTP_REQUEST_HEADERS);
             if (headerMap == null) {
-                headerMap = new HashMap<>();
+                headerMap = new HashMap<String, List<String>>();
             }
             // Add custom header.
             headerMap.put("MY_HEADER", Arrays.asList("FIRST_VALUE"));

http://git-wip-us.apache.org/repos/asf/cxf/blob/6ec07633/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextSecondHandler.java
----------------------------------------------------------------------
diff --git a/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextSecondHandler.java
b/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextSecondHandler.java
index 9f00875..4d7541b 100644
--- a/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextSecondHandler.java
+++ b/systests/jaxws/src/test/java/org/apache/cxf/systest/handlers/MessageContextSecondHandler.java
@@ -34,7 +34,7 @@ public class MessageContextSecondHandler implements SOAPHandler<SOAPMessageConte
     @SuppressWarnings("unchecked")
     @Override
     public boolean handleMessage(SOAPMessageContext context) {
-        boolean isOutbound = (boolean)context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
+        Boolean isOutbound = (Boolean)context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
         if (isOutbound) {
             headerMap = (Map<String, List<String>>)context.get(MessageContext.HTTP_REQUEST_HEADERS);
         }


Mime
View raw message