ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # IGNITE-32 WIP: minor fixes in xml generation.
Date Thu, 25 Dec 2014 04:04:21 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-32 15d4c0512 -> d3a70694a


# IGNITE-32 WIP: minor fixes in xml generation.


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

Branch: refs/heads/ignite-32
Commit: d3a70694a47a6546f39d30cf2655538b30510c71
Parents: 15d4c05
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Thu Dec 25 11:04:21 2014 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Thu Dec 25 11:04:21 2014 +0700

----------------------------------------------------------------------
 .../java/org/apache/ignite/schema/xml/XmlTransformer.java | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/d3a70694/modules/schema-load/src/main/java/org/apache/ignite/schema/xml/XmlTransformer.java
----------------------------------------------------------------------
diff --git a/modules/schema-load/src/main/java/org/apache/ignite/schema/xml/XmlTransformer.java
b/modules/schema-load/src/main/java/org/apache/ignite/schema/xml/XmlTransformer.java
index 994d554..18ece72 100644
--- a/modules/schema-load/src/main/java/org/apache/ignite/schema/xml/XmlTransformer.java
+++ b/modules/schema-load/src/main/java/org/apache/ignite/schema/xml/XmlTransformer.java
@@ -52,8 +52,10 @@ public class XmlTransformer {
             beans.setAttribute("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance");
             beans.setAttribute("xmlns:util", "http://www.springframework.org/schema/util");
             beans.setAttribute("xsi:schemaLocation",
-                "http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"
+
-                "http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd");
+                "http://www.springframework.org/schema/beans " +
+                "http://www.springframework.org/schema/beans/spring-beans.xsd " +
+                "http://www.springframework.org/schema/util " +
+                "http://www.springframework.org/schema/util/spring-util.xsd");
 
             TransformerFactory transformerFactory = TransformerFactory.newInstance();
 
@@ -222,8 +224,8 @@ public class XmlTransformer {
 
                     assert clazz != null;
 
-                    addProperty(val2, "key", field.getValue().get1().getCanonicalName());
-                    addProperty(val2, "value", String.valueOf(field.getValue().get2()));
+                    addProperty(val2, "1", field.getValue().get1().getCanonicalName());
+                    addProperty(val2, "2", String.valueOf(field.getValue().get2()));
                 }
             }
         }


Mime
View raw message