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 with java6
Date Fri, 31 Mar 2017 22:37:25 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 353f559cf -> e85582a9b


Fix compile failure with java6


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

Branch: refs/heads/3.0.x-fixes
Commit: e85582a9b657bc7167f4838ad3c8008b8494f79d
Parents: 353f559
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Mar 31 18:37:14 2017 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Mar 31 18:37:14 2017 -0400

----------------------------------------------------------------------
 .../cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e85582a9/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
----------------------------------------------------------------------
diff --git a/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
b/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
index e9f1611..d2e4e11 100644
--- a/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
+++ b/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java
@@ -608,7 +608,7 @@ public class JAXBDataBinding implements DataBindingProfile {
                             SchemaCompiler schemaCompiler,
                             SchemaCollection schemaCollection) {
 
-        Set<String> ids = new HashSet<>();
+        Set<String> ids = new HashSet<String>();
         @SuppressWarnings("unchecked")
         List<ServiceInfo> serviceList = (List<ServiceInfo>)context.get(ToolConstants.SERVICE_LIST);
         for (ServiceInfo si : serviceList) {
@@ -715,7 +715,7 @@ public class JAXBDataBinding implements DataBindingProfile {
                                           Options opts,
                                           SchemaCompiler schemaCompiler,
                                           SchemaCollection schemaCollection) {
-        Set<String> ids = new HashSet<>();
+        Set<String> ids = new HashSet<String>();
         for (ServiceInfo si : serviceList) {
             for (SchemaInfo sci : si.getSchemas()) {
                 String key = sci.getSystemId();


Mime
View raw message