cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf-xjc-utils git commit: Fix typo causing generation problem
Date Thu, 09 Jul 2015 16:07:32 GMT
Repository: cxf-xjc-utils
Updated Branches:
  refs/heads/master 92ab73fd7 -> cc9f48c53


Fix typo causing generation problem


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

Branch: refs/heads/master
Commit: cc9f48c53e4b75a200d31bd951c93cabb30baa91
Parents: 92ab73f
Author: Daniel Kulp <dkulp@apache.org>
Authored: Thu Jul 9 12:07:15 2015 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Jul 9 12:07:15 2015 -0400

----------------------------------------------------------------------
 bug986/src/main/java/org/apache/cxf/xjc/bug986/Bug986Plugin.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-xjc-utils/blob/cc9f48c5/bug986/src/main/java/org/apache/cxf/xjc/bug986/Bug986Plugin.java
----------------------------------------------------------------------
diff --git a/bug986/src/main/java/org/apache/cxf/xjc/bug986/Bug986Plugin.java b/bug986/src/main/java/org/apache/cxf/xjc/bug986/Bug986Plugin.java
index 7120355..fcc2018 100644
--- a/bug986/src/main/java/org/apache/cxf/xjc/bug986/Bug986Plugin.java
+++ b/bug986/src/main/java/org/apache/cxf/xjc/bug986/Bug986Plugin.java
@@ -84,7 +84,7 @@ public class Bug986Plugin {
                         if (sw.toString().equals("\"anySimpleType\"")) {
                             if (field.type().fullName().startsWith("java.util.List")) {
                                 //if it's a list of non-string types, we have to remove
-                                if (!!field.type().fullName().contains("<java.lang.String>"))
{
+                                if (!field.type().fullName().contains("<java.lang.String>"))
{
                                     toRemove.add(j);
                                 }
                             } else if (!"java.lang.String".equals(field.type().fullName()))
{


Mime
View raw message