You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2018/08/27 09:15:34 UTC
[cxf] branch master updated: [CXF-7827]use .toString() instead of
classcast
This is an automated email from the ASF dual-hosted git repository.
ffang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/master by this push:
new b04ed23 [CXF-7827]use .toString() instead of classcast
b04ed23 is described below
commit b04ed235952c9352454b1780c54a5d86375e6990
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Mon Aug 27 17:15:22 2018 +0800
[CXF-7827]use .toString() instead of classcast
---
core/src/main/java/org/apache/cxf/endpoint/ServerImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/cxf/endpoint/ServerImpl.java b/core/src/main/java/org/apache/cxf/endpoint/ServerImpl.java
index 089859c..b6ade80 100644
--- a/core/src/main/java/org/apache/cxf/endpoint/ServerImpl.java
+++ b/core/src/main/java/org/apache/cxf/endpoint/ServerImpl.java
@@ -89,7 +89,7 @@ public class ServerImpl implements Server {
RegexLoggingFilter filter = new RegexLoggingFilter();
filter.setPattern("jms(.*?)password=+([^ ]+)[.]");
filter.setGroup(2);
- wantFilter = (String)filter.filter(wantFilter);
+ wantFilter = filter.filter(wantFilter).toString();
}
LOG.info("Setting the server's publish address to be " + wantFilter);
serverRegistry = bus.getExtension(ServerRegistry.class);